Set the key
Select I · II · III, reflector B, rings AAA, no plugs and start AAA. “Load AAAAA example” restores this setup and types the message for you.
Alan Turing helped turn a cryptographic challenge into a wartime breakthrough. Explore his work alongside the Polish cryptanalysts, Gordon Welchman and the wider team—then send a signal through a working Enigma I.
01 / The scrambler
Sound is off. Select “Enable sound & test” to hear three notes, then type a letter. No sound plays automatically.
Choose a setup, then press any letter. Gold carries the outward signal; blue carries the return. The rotors advance before the circuit closes.
Rotor order is left → right. Rings and starts use exactly three A–Z letters. Plug pairs must be distinct, such as AV BS CG.
Type A–Z on your keyboard, or focus a round key and press Enter or Space. Reset restores your start windows and clears the tape. To decrypt, restore exactly the same complete setup and type the ciphertext. Spaces and punctuation are omitted.
02 / Your first transmission
Select I · II · III, reflector B, rings AAA, no plugs and start AAA. “Load AAAAA example” restores this setup and types the message for you.
Press A five times. The output is BDZGO. The right rotor moves each time, changing the circuit. This is why repeated letters do not repeat in the ciphertext.
Press Reset to start, then type BDZGO. The output is AAAAA. Sender and receiver need matching rotors, reflector, rings, plugs and starting windows.
The plugboard swaps chosen letter pairs. Current crosses the right, middle and left rotors, turns through the reflector, and returns through the inverse wiring. The reflector makes the transformation reciprocal and prevents a letter mapping to itself. The gold and blue paths show the latest keypress; the dim wires show the other routes at the current position.
Ring settings shift the wiring relative to the rotor alphabet. Start windows choose the initial visible letters. These are separate parts of the key. This model uses historical I–V wirings and selectable reflectors; it does not model every Enigma variant or wartime operating procedure. [2]
Built-in vector checks: running
The right rotor steps every time. Its turnover notch can advance the middle rotor; when the middle rotor is at its own notch, it advances again on the next keypress and carries the left rotor. With I–II–III, the sequence is ADU → ADV → AEW → BFX. The turnover notch stays tied to the visible alphabet, even when ring settings change. [1]
Codebreakers guessed a likely phrase, a crib, and slid it under the ciphertext. Any alignment where a letter sits over itself is impossible, because Enigma never maps a letter to itself; Bletchley Park called this a crash.[3][4] Edit either text, then drag the offset slider. Offset 0 aligns the first letters. Red cells are crashes. A crash rejects an alignment; no crash alone does not prove a correct guess.
This simplified exhaustive search tries 60 distinct I–V rotor orders × 17,576 initial window settings: 1,054,560 candidates. It fixes reflector B, rings AAA and an empty plugboard. It tests the known opening WETTERBERICHT (“weather report”) at offset zero against its own generated intercept.
This is a teaching analogy, not a reconstruction of the historical Bombe. The British machine used electrical deductions from a crib menu to reject contradictory settings while accommodating an unknown plugboard. Welchman’s diagonal board strengthened that process. Real stops still needed checking. [4]
Idle.
04 / People behind the signal
The circuit is elegant. Converting intercepted radio signals into useful intelligence took an international network of people, machines and judgement.
Born in 1912, Turing studied mathematics at King’s College, Cambridge, and completed a doctorate at Princeton. His 1936 work on computable numbers helped define what an algorithmic machine can do—and the limits of computation. In 1939 he joined the Government Code and Cypher School at Bletchley Park. [5]
Turing helped develop the British Bombe and worked on naval Enigma. Gordon Welchman’s diagonal board made the search more effective; Harold Keen and the British Tabulating Machine Company turned the ideas into engineered machines. Intercept operators, cryptanalysts, checking staff and Bombe operators—including many women in the WRNS—made the system work at scale. [4]
Turing worked at the National Physical Laboratory and Manchester on early computing, and explored the mathematics of biological pattern formation. His 1950 paper “Computing Machinery and Intelligence” proposed the imitation game, now associated with the Turing test. His research connected abstract logic with machines and the living world. [5] [6]
Polish cryptanalysts Marian Rejewski, Jerzy Różycki and Henryk Zygalski pioneered attacks on military Enigma. Rejewski’s team reconstructed rotor wiring and developed mechanised methods, including the Polish bomba. In July 1939 the Polish team shared its knowledge with British and French colleagues near Warsaw. French intelligence had supplied key documentary material. These exchanges transformed British work; the British Bombe used a different approach suited to wartime conditions. [7] [8]
In 1952 Turing was prosecuted for a relationship with another man and subjected to hormonal treatment under the laws then criminalising homosexuality. He died in 1954, aged 41. His scientific legacy also carries a human lesson about the damage caused by persecution. [6]
Intelligence derived from high-grade enemy ciphers was known as ULTRA. Enigma decrypts helped the Allies assess plans and movements, including U-boat activity in the Atlantic. Reading messages could inform convoy routing and operational decisions—but intelligence needed timely interpretation and action. Captured documents, direction finding, radar, escorts and other military capabilities also mattered. [8]
There was no single permanent “crack”: different networks used different keys, changed procedures and sometimes became unreadable. Claims that codebreaking shortened the war by a precise number of years depend on an unknowable alternative course of events. We do not present a particular estimate as established fact. The evidence supports a major contribution within a much larger Allied effort. [8]
The Bombe attacked Enigma. Colossus helped attack Lorenz, a different teleprinter cipher used for high-level German communications. Bill Tutte’s analysis and Tommy Flowers’s engineering were central to that separate achievement; Turing did not build Colossus. [9]