Re: what is probability to create two equal hashes for md5 algorithm
- From: Peter Fairbrother <zenadsl6186@xxxxxxxxx>
- Date: Thu, 07 Dec 2006 22:55:24 +0000
Unruh wrote:
"Sergei" <silentser@xxxxxxxxx> writes:
Joseph Ashwood wrote:
"Sergei" <silentser@xxxxxxxxx> wrote in message
news:1165441615.135737.121220@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
But if SHA-1 is a uniformly distributed function, how the Chinese guys
could claim that it is possible to find a collision in 2^63 hash
operations?
I'll show how by using something we can prove if uniformly distributed, but
is cryptographically weak enough for the process to be seen; modular
division by 2^64, let's call it F(x). It is trivial to prove that the output
of F is uniformly distributed across the integers [0,2^64-1]. However, we
can also trivially compute x's that collide by simply adding 2^64 to the
previous x. F is perfectly uniform across all integers x, but is trivially
weak.
Uniform distribution among the output set is not enough for cryptographic
strength.
Yes. Though Joseph's example is cr*p.
Sorry for another dilettantish question, but what is "a uniformly
distributed function"? I thought this is simply another name for a
random oracle function. If this is a function that simpy gives
uniformly distributed outputs when given a uniformly distributed inputs
then, for example, F(x)=x is also uniformly distributed. But what does
it have to do with the collision probabilities in the case described
here?
It is precisely relevant. He wants to define collisions as collisions
between different inputs producing the same output. Obviously if the inputs
are not uniform, then the outputs are not since the function is
deterministic ( same input always gives the same output.)
No, they aren't. In fact the precise opposite would be true of a good hash
function. A good hash function should give randomly-distributed outputs
whether or not the inputs were randomly distributed (as long as the inputs
are different).
Then assuming that the input is uniform, so is the output (or at least that
is the assumption)
No, that isn't the assumption.
If that is true, then given 2^x different inputs, the
probability
of having a collision is 1-exp(-2^(2x-N)) for x<N.
No, it isn't. It wouldn't be even if that was true (which it sort-of is, but
it's not the assumption)
You know better than this.
--
Peter
who would hide behind your chair
and steal your crystallised ginger
.
- Follow-Ups:
- References:
- what is probability to create two equal hashes for md5 algorithm
- From: Dmitry Chumack
- Re: what is probability to create two equal hashes for md5 algorithm
- From: Joseph Ashwood
- Re: what is probability to create two equal hashes for md5 algorithm
- From: Sergei
- Re: what is probability to create two equal hashes for md5 algorithm
- From: Unruh
- Re: what is probability to create two equal hashes for md5 algorithm
- From: Sergei
- Re: what is probability to create two equal hashes for md5 algorithm
- From: Joseph Ashwood
- Re: what is probability to create two equal hashes for md5 algorithm
- From: Sergei
- Re: what is probability to create two equal hashes for md5 algorithm
- From: Unruh
- what is probability to create two equal hashes for md5 algorithm
- Prev by Date: Re: Cryptography in the UK...
- Next by Date: Re: what is probability to create two equal hashes for md5 algorithm
- Previous by thread: Re: what is probability to create two equal hashes for md5 algorithm
- Next by thread: Re: what is probability to create two equal hashes for md5 algorithm
- Index(es):
Relevant Pages
|