Writing, Secrecy and Cryptanalysis

History of Encryption

From wax tablets to quantum computers — the unending war between codemakers and codebreakers

Evolution At A Glance

Ancient
ScytaleAncient Greece — Transposition
Classical
Caesar CipherSubstitution (Shift Cipher)
Mechanical
Enigma MachineMechanical Rotor Cipher — WWII Era
Modern
Diffie-HellmanModern Key Exchange — 1976
Asymmetric (Public-Key)
AESModern Symmetric Encryption
Public-Key
Public-Key CryptographyAsymmetric Encryption
Ancient World
~1900 BC

Unusual Egyptian Hieroglyphs

🇪🇬 Ancient Egypt

Unusual signs in Khnumhotep II’s tomb illustrate deliberate variation in writing. Their purpose should not be equated automatically with secret encryption.

View exhibit →
~600 BC

Atbash

🇮🇱 Ancient Israel

Atbash — the ancient Hebrew reflection cipher (A<->Z, B<->Y, C<->X), self-inverse and used in the Book of Jeremiah (25:26, 51:41) for SHESHACH.

View exhibit →
~500 BC

Scytale

🇬🇷 Sparta

The traditional scytale reconstruction illustrates transposition, but the dates and cryptographic interpretation of ancient evidence are disputed.

View exhibit →
c. 350 BCE

Aeneas Tacticus — Water-Clock Signals

🇬🇷 Greece

Aeneas’s water-clock signaling, preserved in Polybius: synchronized vessels selected preset military messages, not letters of an alphabet.

View exhibit →
c. 150 BCE

Polybius Square

🇬🇷 Greece

Polybius describes coordinate signaling with the Greek alphabet arranged on five tablets. The familiar Latin I/J square is a later adaptation.

View exhibit →
1st century BCE

Caesar Cipher

🇮🇹 Rome

Suetonius describes Caesar’s substitution with a shift of three. A short fixed shift can be tested exhaustively; no medieval encounter between Caesar and al-Kindi is implied.

View exhibit →
Medieval Period
~850 AD

Al-Kindi's Frequency Analysis

🇮🇶 Baghdad

Al-Kindi’s surviving treatise gives an early systematic account of frequency analysis. Symbol counts can support substitution analysis, but short samples can remain ambiguous; there is no single six-century contest outcome.

~850

Monoalphabetic Substitution

🌍 Arabic World

A fixed substitution preserves letter counts while changing symbols. Al-Kindi’s ninth-century account is a landmark in its analysis, not the invention date of the entire family.

View exhibit →
Renaissance and Early Modern
1401 Mantua example

Homophonic Substitution

🇮🇹 Mantua

Mantua’s surviving 1401 key illustrates multiple substitutes for plaintext letters. Such choices can flatten some counts without eliminating higher-order language patterns.

View exhibit →
c. 1404–1438

The Voynich Manuscript

🌍 Central Europe

The Voynich manuscript remains undeciphered. Radiocarbon dating concerns its parchment; script, language and interpretation remain unresolved.

View exhibit →
1467

Alberti Cipher Disk

🇮🇹 Italy

Alberti’s fifteenth-century cipher disk illustrates changing substitutions using two alphabets. The exhibit distinguishes historical instructions from a regular-step teaching model.

View exhibit →
1553 and later variants

Vigenère Cipher

🇫🇷 France

Bellaso’s 1553 work belongs to the history of polyalphabetic substitution. The familiar repeating-key shift model and its later attribution to Vigenère need to be distinguished from individual historical systems.

View exhibit →
1563

Porta's Polyalphabetic

🇮🇹 Naples

Porta’s work belongs to the history of reciprocal polyalphabetic tables. Repeating-key variants can expose periodic statistical patterns; the museum specifies its own table convention.

View exhibit →
1586

The Babington Plot Cipher

🇬🇧 England

The 1586 Babington Plot: intercepted nomenclator letters, a forged postscript, and the difference between compromised keys and an insecure transport channel.

View exhibit →
1591 succession

The Argenti Cipher

🇮🇹 Papal States

Matteo succeeded his uncle Giovanni Battista Argenti in papal cryptographic work. Their documented methods include nomenclators, homophones and nulls; Marcello was Matteo’s younger brother.

View exhibit →
1623 full description

Bacon's Binary Encoding

🇬🇧 England

Bacon’s biliteral alphabet represents letters with patterns of two forms and can hide them in a carrier. Binary representation is distinct from a direct historical origin for ASCII.

View exhibit →
1640

Fermat's Little Theorem

🇫🇷 France

Fermat’s theorem gives aᵖ ≡ a (mod p) for integer a and prime p. It supports some primality tests, but passing a Fermat test does not prove a candidate is prime. Euler’s generalization and a prime-factor argument help explain RSA correctness.

View exhibit →
1643

John Wallis and the Civil War Ciphers

🇬🇧 England

John Wallis served successive English governments as a cryptanalyst. The interactive illustrates a nomenclator rather than reproducing an authenticated Royalist key.

View exhibit →
17th century

The Great Cipher of the Rossignols

🇫🇷 France

The Rossignols’ syllabic nomenclator was deciphered by Bazeries in the 1890s. His proposed Man in the Iron Mask identification remains disputed.

View exhibit →
17th century tradition

Gronsfeld Cipher

🇩🇪 Germany

Numeric-key shifts are traditionally associated with Gronsfeld. The attribution and precise invention date are not established by the museum’s modern 0–9 model.

View exhibit →
c. 1760–1780 manuscript

Copiale Cipher

🇩🇪 Wolfenbüttel

Knight, Megyesi and Schaefer deciphered the Copiale manuscript in 2011 using transcription, statistics and manual analysis. The exhibit separates that result from its invented demonstration alphabet.

View exhibit →
1763

Euler's Theorem & the Totient

🇷🇺 St. Petersburg

For a coprime to n, Euler’s theorem states aᵠ⁽ⁿ⁾ ≡ 1 (mod n). It helps explain RSA correctness; treating all message residues also requires the prime-factor or Chinese-remainder argument. The totient theorem alone is not a security proof.

View exhibit →
1779–1783

Culper Ring — Washington’s Spy Network

🇺🇸 New York / Long Island

Major Benjamin Tallmadge’s 1779 codebook for George Washington’s Culper Spy Ring. Roughly 760 numbered entries covering people, places, military terms, and common words — used by Abraham Woodhull and Robert Townsend on British-occupied Long Island and Manhattan.

View exhibit →
1779–1780

Benedict Arnold & Major André

🇺🇸 West Point

Arnold and André used successive book references, including Blackstone and dictionary schemes. Kahn distinguishes the changing reference texts and letter-level fallback from a single fixed word-code procedure.

View exhibit →
1790s proposal

Jefferson Disk

🇺🇸 United States

Jefferson proposed an unpublished 36-disk device. The later 25-disk M-94 illustrates a similar mechanism, but direct adoption of Jefferson’s proposal is not established.

View exhibit →
1794 documented example

Pigpen Cipher

🌍 Europe

Leeson’s 1794 Masonic inscription is a documented geometric-substitution example discussed by Kahn. It does not establish when every pigpen variant originated.

View exhibit →
19th and Early 20th Centuries
1817

Wadsworth Cipher Device

🇺🇸 United States

Wadsworth’s 1817 device uses geared disks with 33 and 26 positions. A published 2020 ciphertext-only search studied key recovery for this historical design.

View exhibit →
1854

Playfair Cipher

🇬🇧 England

Playfair cipher (1854) — Charles Wheatstone's keyed 5x5 digram cipher promoted by Lord Playfair. Used by the British in WWI; broken by digram analysis.

View exhibit →
1857

Beaufort Cipher

🇬🇧 United Kingdom

Beaufort cipher (1857) — Sir Francis Beaufort's reciprocal Vigenère variant where encrypt and decrypt are the same operation. Broken by Kasiski examination.

View exhibit →
~1860

Civil-War Dictionary Code

🇺🇸 United States · Civil War

Dictionary codes replace words with references in an agreed book. Repeated references and language patterns can still leak information; this widget is a simplified model.

View exhibit →
1861

Stager Route Cipher

🇺🇸 Union Army

The Union’s Stager system combined word transposition, code words and operational procedures. Wartime success is a historical claim, not a proof of mathematical security.

View exhibit →
1861–1865 use

Confederate Vigenère

🇺🇸 Confederate States

Confederate repeating-key traffic included the Manchester Bluff key documented in an 1863 dispatch. Union success against particular messages does not prove that three keys exposed every Confederate communication.

View exhibit →
1863

Kasiski Examination

🇩🇪 Prussia

Kasiski published a repeating-key analysis method in 1863. Repeated-fragment distances suggest candidate periods, which require further checking. Babbage had investigated related attacks earlier.

1873 published scheme

Chinese Telegraph Code

🇨🇳 China

Viguier’s code and subsequent telegraph books represented Chinese characters numerically. A historical additive example uses digitwise modulo-ten arithmetic; the browser’s modulo-10,000 model is different.

View exhibit →
1880s attribution

Nihilist Cipher

🇷🇺 Imperial Russia

The additive coordinate construction is associated with Russian revolutionary cryptography. Kahn qualifies its possible inventorship; other systems also bear the Nihilist name.

View exhibit →
1885

The Beale Ciphers

🇺🇸 Bedford County, Virginia

Beale ciphers — three numerical ciphers published in an 1885 Lynchburg pamphlet, said to have been written in the 1820s and to point to a Virginia treasure. The pamphlet supplies a reading for #2 using a version of the Declaration of Independence. #1 and #3 remain unresolved; the readable construction does not authenticate a treasure.

View exhibit →
1890s methods

Bazeries: Cylinder and Hand Procedures

🇫🇷 France

Bazeries worked with both a cylinder and hand methods. The linked browser exhibit uses a labelled substitution-and-reversal model, not a cylinder simulation.

View exhibit →
~1902

Four-Square Cipher

🇫🇷 France

Four-Square cipher (1902) — Delastelle's digram cipher using two keyed and two standard 5x5 squares. Disrupts Playfair frequencies but breaks to digrams.

View exhibit →
1902 treatise

Bifid Cipher

🇫🇷 France

Delastelle’s posthumous 1902 treatise describes fractionation methods. Bifid separates and recombines two-dimensional coordinates over a selected period.

View exhibit →
1902 treatise

Trifid Cipher

🇫🇷 France

Trifid extends coordinate fractionation to three dimensions. The extra coordinate does not by itself establish greater security than every two-dimensional construction.

View exhibit →
World War I and Interwar
1914

German Double Transposition

🇩🇪 Germany · WWI

Two successive columnar transpositions: historical military use, attack conditions, and modern computerized cryptanalysis; not an unbroken cipher until 2013.

View exhibit →
1917 precursor

One-Time Pad

🇺🇸 United States

A one-time pad offers perfect secrecy with a secret, uniform, independent message-length key used once. Try ciphertext tampering to see why secrecy is not authentication.

View exhibit →
1917

Vernam Tape Cipher

🇺🇸 AT&T

Vernam’s teleprinter system combines text with a key stream. XOR supplies perfect secrecy only when the pad is uniformly random, independent, secret, long enough and never reused.

View exhibit →
1917

Zimmermann Telegram

🇩🇪 Germany → 🇲🇽 Mexico

The January 1917 Zimmermann Telegram: code 0075 to Washington, then re-encoded in 13040 for Mexico. Room 40’s reading helped draw the United States into WWI.

View exhibit →
1918

ADFGVX Cipher

🇩🇪 Germany · WWI

ADFGVX combined a 6×6 substitution square with columnar transposition. Painvin’s June 1918 solutions exploited particular traffic and keys, not every later message automatically.

View exhibit →
March 1918

ADFGX Cipher

🇩🇪 Germany · WWI

Germany’s ADFGX field cipher appeared in March 1918; Painvin obtained solutions in April. Its square-plus-transposition construction required continuing key recovery.

View exhibit →
1918

Chaocipher

🇺🇸 United States

Chaocipher (1918) — John F. Byrne's two-disk dynamic cipher. Disclosed in 2010; published known-plaintext and in-depth ciphertext-only attacks recover its keys.

View exhibit →
1920s–1945

Enigma Machine

🇩🇪 Germany

Enigma developed from commercial machines into several military systems. Marian Rejewski reconstructed the German military machine in 1932; Polish, British and Allied teams continued the work against changing procedures and keys.

View exhibit →
1922

M-94 Cylinder Cipher Device

🇺🇸 US Army

The M-94, adopted by the US Army in 1922, used 25 alphabet disks. It resembles Jefferson’s earlier unpublished wheel but was independently developed.

View exhibit →
1926

KRYHA Machine

🇩🇪🇺🇸 Germany / US commercial

Kryha’s clockwork cipher devices used irregularly moving alphabets. Friedman and colleagues attacked a published challenge in 1933; this widget uses generated settings.

View exhibit →
1929

Hill Cipher

🇺🇸 United States

Hill’s 1929 cipher mixes groups of letters using an invertible matrix modulo 26. Suitable matched plaintext blocks can expose the key by linear algebra.

View exhibit →
World War II
1940

Siemens Geheimschreiber T52

🇩🇪 Germany

Beurling’s 1940 analysis of intercepted Siemens traffic preceded the establishment of FRA. T52 variants differ in stepping and circuitry; irregular stepping should not be assigned to every version.

View exhibit →
1940s

Lorenz Cipher & Colossus

🇩🇪🇬🇧 Germany / UK

Lorenz SZ40/42: Tiltman recovered messages and key from a 1941 depth; Tutte and the Research Section inferred the structure by early 1942; Colossus accelerated wheel-setting from February 1944.

View exhibit →
1940 reconstruction

Purple Broken on September 20

🇺🇸 Washington · Signal Intelligence Service

Genevieve Grotjan’s September 1940 insight contributed to the US Army SIS team’s reconstruction of PURPLE. Its six/twenty switching groups were not simply vowels versus consonants.

View exhibit →
1942

Hagelin M-209

🇺🇸 US Army

M-209 US production begins in 1942, following 1940 trials — the US Army's portable Hagelin C-38 with six co-prime pin-wheels and a 27-bar lug cage. Broken in the field in WWII.

View exhibit →
1942–1945

Navajo Code Talkers

🇺🇸 Pacific Theater

Navajo code talkers used a specialized military vocabulary and spelling alphabet during World War II. Their language and the constructed code were distinct layers.

View exhibit →
1943–1980

VENONA Project

🇺🇸 Arlington Hall / NSA

VENONA analysed intercepted Soviet messages, chiefly from the 1940s, by exploiting duplicated pad material. The project ran from 1943 to 1980.

View exhibit →
Modern Cryptography
1949

Shannon's Secrecy Theory

🇺🇸 United States

Claude Shannon publishes "Communication Theory of Secrecy Systems" (classified 1945, published 1949) — the mathematical foundation of modern cryptography. He formalizes perfect secrecy, including the correctly used one-time pad, and describes confusion and diffusion as cipher-design principles.

1952

KL-7 ADONIS

🇺🇸 NSA / NATO

KL-7: an American eight-rotor cipher machine with irregular stepping and re-entry. Stolen key material compromised traffic during the Walker espionage case.

View exhibit →
1953 message / 1957 recovery

VIC Cipher

🇷🇺 Soviet Union

Information from Häyhänen’s defection enabled the Hollow Nickel message recovery in 1957. The linked exhibit separates historical VIC procedures from a simplified browser model.

View exhibit →
1956

Fialka M-125

🇷🇺 Soviet Union / Warsaw Pact

Fialka was a Soviet ten-rotor machine with variant-specific alphabets, stepping and a punched-card permutation. The browser uses a simplified Latin-alphabet model.

View exhibit →
Historical letter-pad system · dates unverified

Diana Cryptosystem

Trigraph lookup convention

A public trigraph table can be used with private, one-use pad letters. The table itself is not the secret pad; the exhibit demonstrates the modulo-26 relation without establishing deployment dates.

View exhibit →
1965 POW use

Tap Code

🇺🇸 Adopted by POWs in Korea, Vietnam

US prisoners in Vietnam used a 5×5 tap-code convention, communicating row and column counts through knocks. This documented use does not date the origin of every coordinate tapping system.

View exhibit →
1969 / Solved 2020

Zodiac Z-340 Cipher

🇺🇸 San Francisco

Z408 was solved by the Hardens in 1969. Z340 combines homophonic substitution with transposition and exceptions; Oranchak, Blake and Van Eycke announced its solution in 2020.

View exhibit →
1976

Diffie-Hellman Key Exchange

🇺🇸 United States

Diffie and Hellman published New Directions in Cryptography in 1976. Their key-agreement construction and public-key vision transformed public research. GCHQ’s earlier classified work had distinct contributions by Ellis, Cocks and Williamson; authentication remains a separate protocol requirement.

1977

RSA & DES

🇺🇸 United States

RSA was publicly introduced in 1977, and NBS standardised DES that year. Public-key encryption, signatures and symmetric block encryption serve different purposes. Cocks’s related classified proposal at GCHQ preceded public RSA research.

1980s popularisation

ROT13 on Usenet

🌐 Usenet

ROT13 became popular on Usenet as a spoiler obscurer in the 1980s. It is the self-inverse Caesar shift of 13. One operation toggles text in and out.

View exhibit →
1990

Kryptos at CIA Headquarters

🇺🇸 Langley, Virginia

Kryptos: K1–K3 publicly solved; K4 plaintext recovered from an archive in 2025, without a publicly demonstrated cryptanalytic solution.

View exhibit →
1994

Shor's Algorithm

🇺🇸 Bell Labs

Peter Shor gives polynomial-time quantum algorithms for factoring and discrete logarithms. A sufficiently large, fault-tolerant quantum computer could defeat RSA and conventional Diffie–Hellman and elliptic-curve systems. Post-quantum alternatives include lattice-based ML-KEM and ML-DSA and hash-based SLH-DSA, standardized in 2024.

View exhibit →
1999

Solitaire / Pontifex

🇺🇸 Schneier

Solitaire / Pontifex (1999) — Bruce Schneier's hand cipher driven by a 54-card deck (written for Cryptonomicon). Crowley reported adjacent repeated output letters at about 1/22.5 rather than the 1/26 uniform expectation.

View exhibit →
2001

AES Standardized

🇧🇪 Belgium / 🇺🇸 NIST

NIST began the AES selection process in 1997, selected Rijndael in October 2000 and published FIPS 197 in November 2001. The standard and the selection announcement are distinct milestones.

2005

SHA-1 Collision Attack

🇨🇳 China

Xiaoyun Wang and team demonstrate theoretical collision attacks against SHA-1, beginning the transition to SHA-256 and SHA-3. A practical collision was demonstrated by the CWI and Google SHAttered team in 2017.

2005

Learning With Errors

🇮🇱 Tel Aviv University

Oded Regev introduces Learning With Errors: noisy modular equations hide a secret vector. His result connects suitable LWE parameters to worst-case lattice problems through a quantum reduction. Hardness depends on parameters; noise is not sufficient by itself. The later ML-KEM and ML-DSA standards use structured module problems, with additional assumptions for signatures.

View exhibit →
2013

Snowden Revelations

🌍 Global

The 2013 disclosures intensified public debate about surveillance and communications security. HTTPS protects a connection to its TLS endpoint; it is not the same as end-to-end encryption between messaging users.

Post-Quantum Standardisation
2016–2024

Post-Quantum Cryptography

🌍 Global · NIST

NIST launches the Post-Quantum Cryptography project in 2016. In 2024, ML-KEM (FIPS 203), ML-DSA (FIPS 204), and SLH-DSA (FIPS 205) are standardized — intended to resist known classical and quantum attacks, under their respective assumptions.

Undated Origins and Teaching Models
Date undocumented

Rail Fence Cipher

🌍 Origins undocumented

Rail Fence transposes a message along a zigzag route. Rail count, offset conventions and message length define the search; there is no universal ten-rail maximum.

View exhibit →
Historical attribution unverified

Geʿez Context and a Teaching Model

🇪🇹 Ethiopian Highlands

The interactive uses a modern Latin-letter substitution. No identified manuscript authenticates it as a particular Geʿez monastic cipher.

View exhibit →
Date undocumented

Running-Key Cipher

🌍 Europe

A running-key construction uses a passage of text as key material. Natural-language keys have statistical structure and are not uniformly random one-time pads.

View exhibit →
Date undocumented

Columnar Transposition

🌍 Military Use

Explore columnar transposition and multiple anagramming: rearrange column strips across three synthetic same-key intercepts and compare a different-key control.

View exhibit →
Origin not established

Straddling Checkerboard

🇷🇺 Russia

A keyed variable-length digit substitution gives selected letters one digit and others two. It is a component of historical hand systems, including VIC, rather than a complete secure cipher by itself.

View exhibit →
Date undocumented

Fractionated Morse

🌍 Telegraph Era

Fractionated Morse — converts text to Morse, regroups dots, dashes, and separators in trigrams, then substitutes via a keyed alphabet. Broken by trigram stats.

View exhibit →
Origin not established

Two-Square Cipher

🇫🇷 France

Two-square uses two keyed 5×5 squares to encipher letter pairs. This demo follows the ACA horizontal rectangle rule and discloses its extra filler-escape convention.

View exhibit →