The Birthday Paradox
Demonstrates that, in a hash function, the probability of finding two different inputs that produce the same hash is surprisingly high, impacting security assumptions.
📜
The statement of the theorem
Let be the size of the hash output space (the number of possible hash values). Consider a sequence of randomly chosen inputs mapping to , where . The probability of finding at least one collision (i.e., for ) is given by:\n \nFor , the probability of collision approaches when reaches approximately . Specifically, ensures .
Source: Wikipedia