The Science of Unpredictability

A $\text{Random}$ $\text{Number}$ $\text{Generator}$ ($\text{RNG}$) is an algorithm or hardware device that produces a sequence of numbers that cannot be reasonably predicted. $\text{RNGs}$ are the foundation of digital security, gaming, and scientific simulation.

I. The Two Types of Randomness

A. Pseudo-Random ($\text{PRNG}$)

Type: Numbers generated by a mathematical formula ($\text{e.g.}$, the $\text{Mersenne}$ $\text{Twister}$). The sequence is deterministic and reproducible if the starting point ($\text{seed}$) is known. Used for non-security applications.

B. Cryptographically Secure ($\text{CSPRNG}$)

Type: Numbers generated using unpredictable physical processes ($\text{e.g.}$, $\text{mouse}$ $\text{movements}$, $\text{hard}$ $\text{drive}$ $\text{noise}$, $\text{atmospheric}$ $\text{radio}$ $\text{noise}$). The sequence is practically unpredictable, mandatory for $\text{cryptography}$ and $\text{digital}$ $\text{security}$.

II. Core Features

III. Key Use Cases

}$ $\text{keys }$ ($\text{passwords }$, $\text{tokens }$). }$ $\text{Carlo }$ $\text{simulations }$ $\text{or }$ $\text{random }$ $\text{sampling }$ in scientific research.