Enigma · 03 How it works

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.

  1. 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.

  2. 02
    Plugboard

    The letter passed through the front panel, which could swap it with another if the two were connected by a cable.

  3. 03
    Three rotors forward

    Each rotor, with its own internal wiring, substituted the letter with another.

  4. 04
    Reflector

    At the end of the chain the reflector sent the signal back along a different route.

  5. 05
    Three rotors back

    The signal crossed the rotors again in reverse.

  6. 06
    Plugboard again

    A second possible swap.

  7. 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.

ElementPossible choices (army)Contribution to combinations
Rotor order3 rotors chosen from 560
Starting positions26 × 26 × 2617,576
Plugboard10 pairs of lettersabout 1.5 × 10^14
Total—about 1.59 × 10^20
Continue with
04 Worked example

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.

↑