Raimo Niskanen <raimo+open...@erix.ericsson.se> wrote:

> When you have two different real world contents the collision probability
> is just that; 2^-160 for SHA-1. It is when you deliberately craft a
> second content to match a known hash value there may be weaknesses
> in cryptographic hash functions, but this is not what rsync nor Git
> does, as Marc Espie pointed out in this thread.

You have strings A and B, and you know only that hash(A)=hash(B): what
is the probability that A=B? 2^-160?  

Rodrigo.

Reply via email to