Re: Probably naive question - SHA1 + MD5 combination
- From: Kristian Gjøsteen <kristiag+news@xxxxxxxxxxxx>
- Date: Thu, 31 Aug 2006 07:34:47 +0000 (UTC)
Shamus Husheer <s.husheer@xxxxxxxxx> wrote:
For example, if the function SHA1(data+MD5(data)) were used (i.e.
append the MD5 of the data to the data, and take the SHA1 of the
combination), would it be a lot harder to find collisions?
No. You find a collision in SHA-1, say x_0 and x_1, then you simply
choose random messages y until MD5(x_0||y) = MD5(x_1||y), which by the
birthday paradox is feasible. Then
SHA-1(x_0 || y || MD5(x_0||y)) = SHA-1(x_1 || y || MD5(x_1||y)
Multiple hash functions isn't a good idea.
PS. You need to deal with some padding stuff as well, but that's easy.
--
Kristian Gjøsteen
.
- Follow-Ups:
- Re: Probably naive question - SHA1 + MD5 combination
- From: Bryan Olson
- Re: Probably naive question - SHA1 + MD5 combination
- From: Christian Siebert
- Re: Probably naive question - SHA1 + MD5 combination
- References:
- Probably naive question - SHA1 + MD5 combination
- From: Shamus Husheer
- Probably naive question - SHA1 + MD5 combination
- Prev by Date: Re: Fingerprint as cryptokey
- Next by Date: Re: Probably naive question - SHA1 + MD5 combination
- Previous by thread: Probably naive question - SHA1 + MD5 combination
- Next by thread: Re: Probably naive question - SHA1 + MD5 combination
- Index(es):
Relevant Pages
|
|