in reply to Making a base32 representation of md5
That prints "086152237030061101168084252112035147251032073180" (3 bytes for every byte in the checksum.) and you can safely use that as a filename.use strict; use Digest::MD5 qw(md5); my $d = md5("somerandomdata"); my $f = join "", map sprintf ("%03d", ord $_), split "", $d; print $f;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Making a base32 representation of md5
by legato (Monk) on Mar 17, 2005 at 22:15 UTC | |
by Tanktalus (Canon) on Mar 17, 2005 at 23:36 UTC | |
by holli (Abbot) on Mar 18, 2005 at 17:54 UTC |