Enigma: how it worked
The path of a letter inside Enigma: keyboard, plugboard, rotors, reflector and lamps, and the movement of the rotors at every keypress.
Every time the operator pressed a key, an electrical circuit closed and a lamp lit up. The signal followed a precise path.
- 01
Rotor movement
Before the circuit even closed, the right-hand rotor advanced one position; at set points it also advanced the middle one, and that one the left, like an odometer.
- 02
Plugboard
The letter passed through the front panel, which could swap it with another if the two were connected by a cable.
- 03
Three rotors forward
Each rotor, with its own internal wiring, substituted the letter with another.
- 04
Reflector
At the end of the chain the reflector sent the signal back along a different route.
- 05
Three rotors back
The signal crossed the rotors again in reverse.
- 06
Plugboard again
A second possible swap.
- 07
Lamp
The enciphered letter lit up, and the operator wrote it down.
Reversible by design
Thanks to the reflector, enciphering and deciphering were the same operation: with the same settings, typing the ciphertext produced the plaintext. It was very convenient. But the reflector had a side effect: no letter could be enciphered as itself.
| Element | Possible choices (army) | Contribution to combinations |
|---|---|---|
| Rotor order | 3 rotors chosen from 5 | 60 |
| Starting positions | 26 × 26 × 26 | 17,576 |
| Plugboard | 10 pairs of letters | about 1.5 × 10^14 |
| Total | — | about 1.59 × 10^20 |
Enigma: worked example
An example with the historical wirings of rotors I, II and III and reflector B, to see how the same letter produces different letters.
The pages of this topic
Back to the overviewEnigma: history
From Arthur Scherbius’s 1918 patent to adoption by the German armed forces and the Navy’s four-rotor versions.
Enigma: key figures
Inventors, mathematicians and codebreakers: the people who built Enigma and those who managed to break it.
Enigma: weaknesses and attacks
The reflector, key transmission procedures, predictable messages and operator errors: the cracks through which cryptanalysis got in.
Enigma: legacy
What Enigma left to modern cryptography and to the history of computing: principles, methods and the myth of Bletchley Park.
Enigma today
Museums, simulators, auctions and teaching: where Enigma is found today and why it is still a valuable tool for learning cryptography.
Enigma: frequently asked questions
Short answers to the most common questions about Enigma, how it was broken and Turing’s role.