dbTalk Databases Forums  

SHA1 option for Base64+filesafe.

mailing.database.myodbc mailing.database.myodbc


Discuss SHA1 option for Base64+filesafe. in the mailing.database.myodbc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kevin A. Burton
 
Posts: n/a

Default SHA1 option for Base64+filesafe. - 12-07-2004 , 05:18 PM






Right now mysql's SHA1 implementation uses Base16 encoding...

Why not add a Base64+filesafe encoding. This results in significant
space storage. Maybe call the function SHA1BASE64()

Example:

Base64+filesafe(SHA1): C-7Hteo_D9vJXQ3UfzxbwnXaijM

Base64(SHA1): C~7Hteo-D9vJXQ3UfzxbwnXaijM

Base32(SHA1): BPXMPNPKH4H5XSK5BXKH6PC3YJ25VCRT

Base16(SHA1): 0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33

Base64+filesafe is just an encoding that removes / and other chars that
can't be in URLs and filenames.

I don't know about you but I like my database as less bloated as possible

Kevin

--

Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an
invite! Also see irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html

If you're interested in RSS, Weblogs, Social Networking, etc... then you
should work for Rojo! If you recommend someone and we hire them you'll

get a free iPod!

Kevin A. Burton, Location - San Francisco, CA
AIM/YIM - sfburtonator, Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.