Hello,
we have tested
md5sum and found that it doesn't calculate the results of the testcases in
RFC1321 (see http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1321.html ).
The same problem appears to md5. The only solution we've found working correctly
is the Perl-Module Digest::MD5...
These errors appear
under Win2k and different versions of Solaris.
C:\work\perl\basics\md5>md5sum
--version
md5sum (textutils) 2.0.21
Written by Ulrich Drepper and Scott Miller.
md5sum (textutils) 2.0.21
Written by Ulrich Drepper and Scott Miller.
--- extract from RFC1321 ---
MD5 ("a") = 0cc175b9c0f1b6a831c399e269772661
MD5 ("abc") = 900150983cd24fb0d6963f7d28e17f72
MD5 ("message digest") = f96b697d7cb7938d525a2f31aaf161d0
MD5 ("abcdefghijklmnopqrstuvwxyz") =
c3fcd3d76192e4007dfb496cca67e13b
MD5
("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") =
2f8f3230bbc42e379a1554ca3419d46d *-
27ff7ea9ce50076cfc8e794d64957f7c *-
C:\work\perl\basics\md5>echo abc | md5sum
20abe48e15deaf253a389062cf29df72 *-
Best regards,
Martin Fabiani
c/o Dresdner Bank AG | ||
IS-STA Software-Technologie und -architektur für | ||
Allianz Gruppe Deutschland | ||
CC IT EG KC, Ha. 2, 15. OG, Raum 15.122 | ||
Hamburger Allee 2-10 | voice: | +49-69-263-18628 |
60301 Frankfurt/Main, Germany | e-mail: | mailto:[EMAIL PROTECTED] |