Ciphers · EnigmaEnigma machine simulator I · II · III

An Enigma cipher simulator of the Enigma I: three rotors out of five, a reflector, ring settings and a plugboard. Press the keys — the rotors turn and a lamp lights up with the cipher letter. To decrypt, set the same settings and type the ciphertext.

Everything runs in your browser — the text goes nowhere

01Machine02Signal path03History04Questions05Related

Machine

ReflectorUKW-B
Left · I
A
ring 01
Middle · II
A
ring 01
Right · III
F
ring 01
QWERTZUIO
ASDFGHJK
PYXCVBNML
You can type on your computer keyboard too
Plugboard · 0 of 10 pairs
A·B·C·D·E·F·G·H·I·J·K·L·M·N·O·P·Q·R·S·T·U·V·W·X·Y·Z·
Tape
windows AAF
Input
AAAAA
CiphertextBDZGO
To decrypt, set the same settings and type the ciphertext — Enigma is reciprocal.
Left
01
Middle
01
Right
01
Reflector
Daily keyB | I II III | 01 01 01 | AAA | —

Only the machine settings go into the link — never the text.

02

Signal path

last letter: A → O
03

History

1918

Invention

Arthur Scherbius patents a rotor cipher machine. At first it is sold to banks and the post office.

1926–45

Wehrmacht

The German army and navy adopt Enigma. Settings change every day from printed key sheets.

1932 · 1940

Broken

Rejewski reconstructs the rotor wiring; at Bletchley Park Turing and Welchman build the Bombe.

A ≠ A

Weakness

A letter never encrypts to itself — codebreakers used this to discard wrong guesses about the text.

04

Frequently asked questions

A key press sends current through the plugboard, three rotors from right to left and the reflector, then back by another path — and a lamp lights up with the cipher letter. Before every press the right rotor turns one step, and the middle and left ones turn when their neighbour reaches its notch. So the same letter is enciphered differently each time, and the rotor positions repeat only after 16,900 presses.

Updated