in reply to MD5 Peculiarities
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
|
|---|