CRYPTOGRAPHY

birthday collision approximation

estimates the probability of at least one collision when q random samples fall into N values.

Pcoll≈1−e−q(q−1)/(2N)P_{\mathrm{coll}}\approx1-e^{-q(q-1)/(2N)}

symbols, variables and units

q: number of samples; N: equal probability output space size; probability is dimensionless.

applicable conditions and boundaries

Independent uniform sampling, approximation for large N; hash bias changes probabilities.

formula source code

The following is a copyable LaTeX expression.

P_{\mathrm{coll}}\approx1-e^{-q(q-1)/(2N)}

Reference and Extended Learning

NIST · Cryptographic Standards and Guidelines ↗

is organized according to model definition and assumptions. Please check actual conditions and original literature before engineering, research and clinical use.

birthday attackHash

Same subject formula

Go to Free Science Tool Library ↗