Please give help! how can I calculate the probability of collision? I need a mathematical equation for my studying.
Assume, I am using SHA256 to hash 100-bits. Thus:
SHA256 {100} = 256-bits (hash values) I would like to know the probability of collision.
This website: https://preshing.com/20110504/hash-collision-probabilities/
Gave an equation: $K^2 / 2N$
But I could not know what is $K$ and $N$? Is K is the output which is (256-bits) and $N$ is the input which is (100-bits)
Please Help and Thanks in advance...