good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Compact MD5 representationby paulbort (Hermit) |
on Mar 20, 2001 at 22:32 UTC ( [id://65772]=note: print w/replies, xml ) | Need Help?? |
You could use Math::BaseCalc (as suggested above) on the the first half and last half of the MD5, and then concatenate them. If you convert to base32 or base64, you wouldn't waste any bits. (And if you convert to base62 0-9a-zA-Z, you waste a couple bits, but it's portable just about everywhere.)
In Section
Seekers of Perl Wisdom
|
|