This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
MD5Sum seriously broken in b19.1? (generates incorrect md5 hash values)
- To: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>
- Subject: MD5Sum seriously broken in b19.1? (generates incorrect md5 hash values)
- From: "Ralf G. R. Bergs" <rabe at RWTH-Aachen dot DE>
- Date: Wed, 02 Sep 1998 00:30:11 +0100
- Reply-To: "Ralf G. R. Bergs" <rabe at RWTH-Aachen dot DE>
Hi there,
I'm running NT 4.0 SP3, and I have some strange problems with md5sum.
>From a crypto class I know that it's practically impossible for two files to
share the same MD5 hash, BUT I have lots of files with the same md5 sum. How
come???
I'm attaching two picture files (of a well-known lady named Pam Anderson ;-)
that produce the same md5 sum under NT:
[m:\new\pix\pam anderson]md5sum -b pam1.jpg pam2.jpg
fefe0c8ca9ff2a739ef0e0910c135a1d *pam1.jpg
fefe0c8ca9ff2a739ef0e0910c135a1d *pam2.jpg
Under Linux I get different MD5 values:
Server:~$ md5sum -b pam1.jpg pam2.jpg
d7d4d61579d749152a7903399f977dd1 *pam1.jpg
077362ac4360e94ad9e15cd622d84d7a *pam2.jpg
Note that I DID use "-b" for binary mode!
What's going on here? Could you *please* investigate this, since I need a
solution ASAP.
Thanks very much for your time,
Ralf
--
Ralf G. R. Bergs * Welkenrather Str. 100/102 * 52074 Aachen * Germany
+49-241-876892, +49-241-877776 (fax) * rabe@rwth-aachen.de * PGP ok!