3 ms·
> Random collisions in 160-bit space are incredibly unlikely Just for fun: to get a 5% chance of a hash collision between ANY two numbers in an 160 bit space,
by asdfman123 5y ago
> Random collisions in 160-bit space are incredibly unlikely
Just for fun: to get a 5% chance of a hash collision between ANY two numbers in an 160 bit space, you'd have to generate 3.9e23 hashes.
So you'd have to generate 1000 hashes per second for *12 trillion years.*
Formula:
n = sqrt(2 * 2^160 * ln(1/(1-0.05))
https://en.wikipedia.org/wiki/Birthday_problem#Probability_of_a_shared_birthday_(collision) https://en.wikipedia.org/wiki/Birthday_problem#Probability_o...