On Thursday 22 June 2006 22:03, Michael Rogers wrote:
> David Sowder (Zothar) wrote:
> > Convert to base-36 ([0-9a-z]) instead of base-16 (hex)?
> 
> Or Base32? Case-insensitive, URL-safe, and easy to convert to/from raw
> bytes.

Doesn't make it massively better:

Base32:
dbkr at 
MQ3U2RL2NNBFGZKMFVUGGYZSIRDE26DIONIUQQ22NREHISSHIVLGSV2JGN3TKYSHNFUDILBTMM4U43KVJNCHCVKFMIWTCVSGOZHXG3LMNBHFONLKKF4HMYTPGZXUC5DYJVWTMUCVI44CYQKRIFBECQKF.freemail

vs.

Base16:
dbkr at 
64374d457a6b4253654c2d6863633244464d7868735148435a6c48744a47455669574933773562476968342c3363394e6d554b44715545622d315646764f736d6c684e57356a517876626f366f4174784d6d36505547382c41514142414145.freemail

The only implementations of Base36 I've found convert numbers to base 36 
(which is easy in Java) but not strings / byte arrays. If the above if 
anything to go by, it's not going to save much anyway.

I'll stick with base 32 for the time being.


Dave



> http://en.wikipedia.org/wiki/Base32
> 
> Cheers,
> Michael
> _______________________________________________
> Tech mailing list
> Tech at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
> 

Reply via email to