use strict;
use vars qw($VERSION @ISA @EXPORT_OK);
-$VERSION = '2.35'; # $Date: 2005/11/26 11:09:06 $
+$VERSION = '2.36'; # $Date: 2005/11/30 13:46:47 $
require Exporter;
*import = \&Exporter::import;
since 2005 been easy to generate different messages that produce the
same MD5 digest. It still seems hard to generate messages that
produce a given digest, but it is probably wise to move to stronger
-algorithms for application depends on the digest to uniquely identify
+algorithms for applications that depend on the digest to uniquely identify
a message.
The C<Digest::MD5> module provide a procedural interface for simple
RFC 1321
-http://en.wikipedia.org/wiki/Md5
+http://en.wikipedia.org/wiki/MD5
The paper "How to Break MD5 and Other Hash Functions" by Xiaoyun Wang
and Hongbo Yu.
output a 128-bit "fingerprint" or "message digest" of the input.
MD5 is described in RFC 1321.
-You will need perl version 5.004 or better to install this module.
+You will need perl version 5.6 or better to install this module.
Copyright 1998-2003 Gisle Aas.
Copyright 1995-1996 Neil Winton.
my $EXPECT;
if (ord "A" == 193) { # EBCDIC
$EXPECT = <<EOT;
-9020dd8ce0395531c330f453fcdffd6c Changes
-0565ec21b15c0f23f4c51fb327c8926d README
-4fc3e605f5b157f01b18de1809c5cdd4 MD5.pm
+c7b68bb806b2d42f4a11511132e94ae8 Changes
+11e8028ee426273db6b6db270a8bb38c README
+347d5b9f257eb62eaab60b3d952451f7 MD5.pm
b61eb1bba8cc490040d02f6bf24874f7 MD5.xs
276da0aa4e9a08b7fe09430c9c5690aa rfc1321.txt
EOT
} elsif ("\n" eq "\015") { # MacOS
$EXPECT = <<EOT;
-eb3aa2263f2e3b748616e63f93e1bb27 Changes
-6c950a0211a5a28f023bb482037698cd README
-09bb20af6d2679d05b39b6544e0b3710 MD5.pm
+628699b88b6a803225678802d2470067 Changes
+c95549c6c5e1e1c078b27042f1dc850f README
+77503ff007841a671275fdf544dad68e MD5.pm
716c3278fd80338727c100e5d2a76795 MD5.xs
754b9db19f79dbc4992f7166eb0f37ce rfc1321.txt
EOT
} else {
# This is the output of: 'md5sum Changes README MD5.pm MD5.xs rfc1321.txt'
$EXPECT = <<EOT;
-5f415836f042e939c6ab19ee7746929b Changes
-6c950a0211a5a28f023bb482037698cd README
-09bb20af6d2679d05b39b6544e0b3710 MD5.pm
+2fdc25c326960308f5334c967455d1f5 Changes
+c95549c6c5e1e1c078b27042f1dc850f README
+77503ff007841a671275fdf544dad68e MD5.pm
716c3278fd80338727c100e5d2a76795 MD5.xs
754b9db19f79dbc4992f7166eb0f37ce rfc1321.txt
EOT