Randomness
Keys must be picked at random. If a computer's random numbers are even slightly predictable, an attacker can guess the keys, however strong the algorithm.
A lottery where the balls are secretly weighted. The machine looks fair but someone who knows the trick can predict the result.
Why it matters
Bad random numbers have caused serious failures, such as the Debian OpenSSL bug and Sony's PlayStation 3 key leak.
In plain words
Keys must be picked at random. If a computer's random numbers are even slightly predictable, an attacker can guess the keys, however strong the algorithm.
Think of it like this
A lottery where the balls are secretly weighted. The machine looks fair but someone who knows the trick can predict the result.
Why it matters
Bad random numbers have caused serious failures, such as the Debian OpenSSL bug and Sony's PlayStation 3 key leak.
Where you meet it
Hidden inside every device. You never see it unless it goes wrong.
More diagrams: The rules of a one-time pad · The life of a cryptographic key
Go deeper history and technical detail
Between 2006 and 2008 a change to Debian Linux's copy of OpenSSL left only about 32,768 possible keys, so they could all be listed. In 2010 researchers showed Sony had used the same 'random' number for every PlayStation 3 signature, which let them work out Sony's private signing key. Operating systems now gather randomness from hardware events and dedicated chip circuits.
Read or watch next
- Cryptography and CryptanalysisMIT OpenCourseWare (6.875, Spring 2005), course
Related terms
Cite this page Encryption Observer, “Randomness”, encryption.observer/terms/randomness/, checked December 2026.