Re: Making a weak Hash stronger until a fix comes along -- concatenation of hash functions...

From: David Wagner (daw_at_taverner.cs.berkeley.edu)
Date: 09/26/05


Date: Sun, 25 Sep 2005 22:50:52 +0000 (UTC)

Max Power wrote:
>-- md5(md4(message))

MD4 is broken. So this is useless; once you have a collision for
MD5, you have a collision for your proposed scheme.

>-- md5([md5(message)+crc32(message)]) // "+" is a stringwise operator

This is probably insecure, thanks to the Joux attack: you find a
2^16-multi-collision for MD5, then you will likely be able to identify
a pair of messages with the same CRC and the same MD5 hash.

>-- sha(1, [sha(0, message])
>-- sha(1, [sha(1, message)+salt_out])
>// 0 and 1 denote different versions of SHA

I don't see any reason to expect this to be any more secure than SHA1.
The current SHA1 collision attacks are differential attacks, so it should
probably be easy to find a collision for either sha(0, .) or sha(1, .),
and then that is a collision for your proposed scheme.



Relevant Pages

  • Re: "Collision for Hash Functions MD4, MD5, HAVAL-128 and RIPEMD"
    ... this was the Year of Doom for cryptographic hash functions. ... These go into great detail on the SHA-0 and MD5 collisions ... Difficulty in the former is called "collision resistance", ... you probably meant to say was "I can find a *different* string whose ...
    (comp.os.linux.security)
  • Re: Complex Theoretical One Way Hash Question
    ... where Fis a picture generation function. ... Breaking the first MD5 is a matter of a few seconds, ... collision, at least currently. ... for a single picture. ...
    (sci.crypt)
  • Re: SHA-0 Broken, MD5 Rumored Broken
    ... there are no attacks that demonstrate that MD5 is ... Collision resistance was a design goal for MD5. ... resistance, or 2nd preimage resistance. ...
    (Bugtraq)
  • Re: Secure 128-bit hash?
    ... different initializing values IV1,2 ... If you can run only standard MD5, it is possible to obtain MD5 with other ... So we can use the construction ... I think this prevents all present collision attacks on ...
    (sci.crypt)
  • Re: md5 collisions and speeding tickets
    ... >the collisions had been found in MD5 meant that part of the firmware ... except that MD5 IS still collision resistant. ... However, again, I suspect that the prosecution could not get ... >stranger technicalities that have nothing to do with the technical ...
    (sci.crypt)