bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in md5sum ?


From: Fabiani, Martin
Subject: Bug in md5sum ?
Date: Fri Nov 29 14:28:44 2002

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.
--- extract from RFC1321 ---
MD5 ("") = d41d8cd98f00b204e9800998ecf8427e
MD5 ("a") = 0cc175b9c0f1b6a831c399e269772661
MD5 ("abc") = 900150983cd24fb0d6963f7d28e17f72
MD5 ("message digest") = f96b697d7cb7938d525a2f31aaf161d0
MD5 ("abcdefghijklmnopqrstuvwxyz") = c3fcd3d76192e4007dfb496cca67e13b
MD5 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") =
d174ab98d277d9f5a5611c2c9f419d9f
--- cut ---
But the results under Win2k pro are:
C:\work\perl\basics\md5>echo "" | md5sum
2f8f3230bbc42e379a1554ca3419d46d *-
C:\work\perl\basics\md5>echo a | md5sum
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:address@hidden

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]