Mechanical Cipher Machines
When cryptography became hardware — and hardware changed history
From Alberti’s fifteenth-century disk to twentieth-century rotor and pin-and-lug devices, this hall explores the mechanisation of cipher operations. Interception, cryptanalysis, engineering and interpretation were all needed to turn enemy communications into intelligence; machines alone did not win wars or decrypt every message.
The mechanical advantage: Hand ciphers require operators to look up tables, count positions, and write carefully. Mechanical devices automate the cipher operation — dramatically increasing speed and reducing errors. The tradeoff: a captured machine reveals everything about the cipher structure. Security must then rely entirely on the key settings.
Alberti’s fifteenth-century cipher disk illustrates changing substitutions using two alphabets. The exhibit distinguishes historical instructions from a regular-step teaching model.
Jefferson’s unpublished 1790s proposal used 36 disks. The later 25-disk M-94 illustrates a similar mechanism; direct adoption of Jefferson’s proposal is not established.
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.
Enigma developed through commercial and military models. Rejewski’s 1932 breakthrough and later Polish and Allied work attacked particular machines, keys and procedures.
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.
Navajo code talkers used a specialized military vocabulary and spelling alphabet during World War II. Their language and the constructed code were distinct layers.
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.
US production of the portable M-209 began in 1942, following 1940 trials. Its six pin-wheels and 27-bar lug cage illustrate a mechanically complex system with documented cryptanalytic weaknesses.
Purple machine (1939) — Japan's Type 97 stepping-switch cipher for diplomatic traffic. Broken on 20 September 1940 by Frank Rowlett and the US Army SIS team.
JN-25 combined Japanese naval code groups with additive encipherment. Partial recoveries by Allied teams, including Station HYPO, contributed to Midway intelligence.
Red (Type A) was a Japanese diplomatic cipher using a half-rotor mechanism. It preceded the stepping-switch system PURPLE.
SIGABA used fifteen rotors in cipher, control and index banks. No successful enemy wartime cryptanalytic break is publicly documented; the widget is a simplified model.
Typex developed from commercial Enigma technology for British use. Models and plugboard arrangements varied; adapted machines also supported Allied Enigma decryption.
Swiss NEMA rotor machine (1947) — four cipher wheels, independent stepping wheels, and a moving reflector. Explore historical military encryption and decryption.
Hagelin C-36 and C-52 lineage — pin-and-lug cipher machines, the M-209 connection, published known-plaintext attacks, and the Crypto AG supplier history.
Machines for Codebreaking
From Bronze Disk to Electronic Computer
Alberti’s disk, repeating-key tables and electrical rotor machines all illustrate changing substitutions. Their mechanisms and historical development differ: the familiar repeating-key table is associated with Bellaso (1553), while Vigenère described an autokey system (1586).
Tiltman’s manual recovery and Tutte’s structural analysis came first. Later statistical searches over Lorenz wheel settings benefited from electronic counting: Colossus was operational in February 1944. This was an important early application of programmable electronics.
Enigma required physical rotor choices, positions, ring settings and plugboard connections. Modern systems use several kinds of keys and lengths, with different distribution and authentication methods. Both need disciplined management of secret material.