The Lab · Cryptography

Everything runs in this tab. The machine is a faithful Enigma I: rotors I to V, reflectors B and C, ring settings, a plugboard and the double step. The key sheet, the nets and every message are synthetic, written for this page. Your progress stays in this browser.

Enigma orrery

A plugboard, three rotors and a reflector, drawn as the rings of an orrery. Press a key and watch the current go in and back out, then work it like its operators did: from a key sheet, one message at a time.

How this page worksThere's one machine. The drawing shows it, the Machine key panel under the drawing sets it, and the keyboard further down types on it (your own keyboard works too). Each stage has numbered steps. Do them in order, then press Check.

Stage I · one rotor

A wheel of wires

A rotor is a disc with 26 contacts on each face. Inside, 26 wires join every contact on one face to a contact on the other in a fixed, scrambled order. On its own that's a plain substitution: hold the rotor still and the same key always lights the same lamp.

But it never holds still. Every key press turns the rotor one place first and only then sends the current through, so each letter meets the wiring at a new angle. Press the same key twice and you get two different lamps.

This stage uses a one-rotor teaching rig. In the drawing, the keys are the outer ring, the rotor is the wide ring with the wires, and the lamps are the inner ring. The small triangle on the rotor is its notch. In the full machine, when the notch letter shows in the window, the next key press also steps the rotor to its left by one place.

Your task, step by step
  1. Press Set up the rig, just under these steps. The drawing (to the right of this cardbelow this card) then shows rotor I with A in its window, at the top.
  2. Type ROTOR on the keyboard further down the page, or on your own keyboard. Or press Type ROTOR for me.
  3. Watch the strip under these steps fill in: each key you type, and the lamp it lit.
  4. Copy the lit letters, in order, into the answer box below and press Check.
Since the page opened: nothing typed yet
Typed
Lit

Nothing typed yet.

Watch for itROTOR has two R's and two O's. In the strip, each repeated letter lights a different lamp every time, because the rotor turned in between.

Hints

    DefenceA lone rotor repeats every 26 letters, so letters 26 apart share one substitution and enough ciphertext falls to plain frequency counting. Enigma's three rotors stretch that to 16,900 letters. A modern stream cipher like ChaCha20 builds its keystream from a 256-bit key and a fresh nonce, and that keystream doesn't repeat within a message.

    The exhibit

    The machine

    Machine key
    Umkehrwalze (reflector)
    LeftMiddleRight Walzenlage Ringstellung Window

    Operate it

    Lamps, keys and the pad

    Your own keyboard works too. Any letter goes to the machine unless you're typing in a field.

    Lampboard
    Keyboard
    The operator's pad

    The Enigma I had no printer, so usually one operator typed while a second wrote down each lamp.