Hall IX · 1882 – Present

The Unbreakable

Where classical cryptography reached its limits — and mathematics drew the line

Many historical ciphers succumbed to cryptanalysis; others were exposed by operational mistakes, became obsolete, or remain unresolved. Claude Shannon proved perfect secrecy for a correctly used one-time pad: a secret, uniformly random, independent message-length key used once. Its demanding key-distribution requirements limit its use. This hall examines that guarantee and how pad reuse undermined it.

What came next — AES, RSA, Diffie-Hellman, and the systems that protect the digital world — lives in the Modern Cryptography wing.

Theoretical Security WWII
The Mathematics of Secrecy

Claude Shannon and Perfect Secrecy

Shannon's 1949 Proof

Perfect secrecy means observing ciphertext does not change the prior probability of any plaintext: P(M=m | C=c) = P(M=m), for ciphertexts with nonzero probability. Plaintexts need not be equally likely beforehand. An independently uniform one-time pad meets this definition; it is not the only possible perfectly secret construction. Encryption alone does not authenticate a message.

For example, if a message was more likely before interception, it remains more likely afterwards. The ciphertext does not improve that prior guess. This guarantee concerns message content within the defined message space; length and other traffic metadata may still be visible.

Source: Claude E. Shannon, Communication Theory of Secrecy Systems (1949), §10, pp. 679–682. Shannon also describes perfectly secret systems using Latin squares.

Why Its Use Is Limited

A one-time pad has demanding operational requirements:

  • The key must be as long as the message — a 1GB file needs a 1GB key
  • The key must be truly random — not pseudorandom
  • Key distribution must be perfectly secure — if the key channel isn't secure, neither is the cipher
  • Every key used once means you can never reuse, recycle, or re-derive it
⚡

VENONA: US Army analysts, and later successor organizations including NSA, exploited reused Soviet additive key material. The historical traffic used decimal subtraction without borrowing, not binary XOR; the exhibit shows both the principle and a decimal teaching exercise.

Why Classical Ciphers Failed

Shannon's Two Principles — and How Modern Crypto Achieves Them

Confusion

Confusion complicates the relationship between the key and ciphertext statistics. For a Caesar shift, C = P + k mod 26, one aligned plaintext–ciphertext letter pair reveals k. Shannon’s term is a design principle, not a universal numerical score.

Modern solution: AES uses a fixed, public nonlinear S-box together with key addition and diffusion over multiple rounds. The S-box alone is a known byte substitution; its output determines its input. Security belongs to the complete construction, not secrecy of that table.

Diffusion

Spreading the influence of each plaintext bit across many ciphertext bits. Caesar does not spread changes between letters — changing one letter changes exactly one ciphertext letter. Frequency analysis exploits this directly.

Modern comparison: AES combines nonlinear substitution, key mixing and linear diffusion. A full-cipher avalanche measurement describes behavior across inputs, not a promise that every change flips exactly half the bits.

The Complete Journey

From Caesar to AES — What Each Generation Taught the Next

Classical Cipher Type Fatal Weakness Modern Solution Modern Example
Caesar / SubstitutionFrequency analysis — letter mapping preservedRepeated substitution, diffusion and key mixingAES SubBytes
Monoalphabetic26! keys but relabel the same frequency countsFixed public S-box combined with round-key additionAES with round keys
Polyalphabetic / VigenèreRepeating key creates detectable periodicityPseudorandom keystreams with unique nonce/counter inputs under a key; output bytes can repeatChaCha20, AES-CTR
TranspositionLetters preserved, just rearranged — anagram attacks workSubstitution and linear diffusion across roundsAES ShiftRows + MixColumns
Playfair / Hill (block)Small blocks leak digraph statistics; linear algebra solvable128-bit blocks, non-linear operations, key mixingAES (128-bit block)
Military layered (ADFGVX)Substitution + transposition — each layer still attackableAES uses 10, 12 or 14 rounds; the final round omits MixColumns. Inversion with the key is efficientAES
One-Time PadImpractical key management — reuse is catastrophicComputational security with short keys under stated assumptions; not perfect secrecyAES modes; authenticated X25519-based protocols
🎓

The museum’s lesson: State the security goal and assumptions explicitly. Perfect secrecy, computational security, authenticity and implementation resistance are different claims. Real systems need appropriate parameters, secure key handling and careful implementation; they do not invariably fail loudly when misused.

← Previous Hall Hall VIII: Puzzle & Novelty Ciphers