Re: Help Needed with Cryptanalysis



First, your C code has errors: you need to initialise your W array.

I presume that you want it to be all 0's. If that is the case, then
here is
a collision:

First input:
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0
(i.e. sixteen 32-bit words that are all 0)

Second input:
2, 2, 2, 2, 2, 2, 2, 2,
0xae73151f, 0xc904c746, 0x614d0189, 0x62383163,
0x609106b7, 0x40499dd0, 0x3188b2ba, 0xf0ae72cb
(i.e. sixteen 32-bit words, the first 8 are all 0x2, the others are
full 32-bit words)

The hash value in both cases is:
69997dfa 73847e9e 19248276 c43903c2 95772d2d 4eaf85eb ad90eb0e 6ce0ea42

(in hexadecimal)

Scott

.