True Randomness vs Pseudorandomness
Distinguish hardware entropy sources from software PRNGs.
Why Randomness Matters
Cryptographic security depends fundamentally on unpredictability. If an attacker can predict your key, IV, or nonce — even partially — the entire cryptographic system may collapse. Weak randomness has caused catastrophic real-world breaks.
True Random Number Generators (TRNGs)
TRNGs harvest physical entropy: thermal noise in resistors, shot noise in reverse-biased diodes, radioactive decay, mouse movements, keystroke timings, disk seek latencies. These are genuinely unpredictable physical phenomena.
All lessons in this course
- True Randomness vs Pseudorandomness
- Cryptographically Secure PRNGs
- Entropy Starvation & Weak-Key Bugs
- Generating Keys, Nonces & IVs Safely