Hall III · Renaissance — 19th century

The Polyalphabetic Revolution

"Le chiffre indéchiffrable" — The unbreakable cipher. Until it wasn't.

Polyalphabetic systems use changing substitution alphabets. They obscure simple letter-frequency relationships, but repeating keys create structure that analysts can exploit. Bellaso, Vigenère, Babbage, Kasiski and Friedman contributed different constructions or methods; the history is more varied than a single cipher remaining universally trusted for 300 years.

Renaissance 19th Century Running Key: Hard to Break
🔑

The key insight: A key selects which alphabet applies at each position. The same plaintext letter can therefore map to different ciphertext letters. Repeated key positions may still be separated into simpler substitution problems.

The Fatal Flaw

How the Repeating Key Betrays Itself

The Kasiski Examination

The same plaintext sequence under the same repeating-key alignment produces the same ciphertext. Repeated ciphertext sequences can therefore suggest distances divisible by the period. Coincidental repeats also occur, so candidate periods need testing. The repeated string below is an illustration of the inference, not a guarantee that its key length is known.

Ciphertext:
LXFOPVEFRNHRLXFOPVEFRNHR
      ↑               ↑
   pos 6           pos 18
   Distance = 12 → test divisors of 12; coincidence is also possible
Index of Coincidence

The index of coincidence measures the chance that two positions chosen without replacement contain the same letter. English samples often lie near 0.066, while independent uniform A–Z samples approach 1/26. Repeating-key substitution can move the overall score toward the latter, but length, language and key period matter: IC supplies evidence, not a certain cipher identification.

Text TypeIC Value
Random~0.038
Illustrative Vigenère sample~0.052
English~0.066
Vigenère → Stream Ciphers

Vigenère repeats a short sequence of letter shifts. ChaCha20 instead generates pseudorandom bit blocks from a key, nonce and counter, then combines them with plaintext using XOR. Its security is computational, and its usage rules prevent keystream reuse. “Non-repeating” does not mean that individual output blocks can never coincide.

Running Key → One-Time Pad

The running key cipher is one step from the one-time pad. The difference: a book passage is not random. If the source text has linguistic structure, that structure leaks into the ciphertext and enables statistical attacks.

Keys, Periods and Usage Limits

The Vigenère lesson: short repeating keys are fatal. Modern systems can reuse a suitably strong key for multiple messages, but must respect each scheme’s nonce, counter, and usage limits. Key derivation can separate session keys; it does not automatically guarantee unique key material.

← Previous Hall Hall II: Classical Substitution