Perl 5.8 with PerlIO gives a neat encapsulation of md5 digests with PerlIO::via::MD5:
That is obviously more useful for getting digests of files.use PerlIO::via::MD5; my ($string, $digest) = 'foobarbaz'; { open my $fh, '<:via(MD5)', \$string; $digest = <$fh>; }
After Compline,
Zaxo
In reply to Re: MD5 Peculiarities
by Zaxo
in thread MD5 Peculiarities
by skazat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |