⬇ Save this machine to your computer (one file, works offline) · all four machines (zip)
Die Wehrmacht-Enigma: drei Walzen, wie die echte.
The three-rotor cipher machine of the German armed forces, simulated wire by wire. Type on the keys below (or on your keyboard). The right rotor steps first, the lamp shows the coded letter, and the diagram at the bottom traces the current through the real wiring. Click a rotor window and type letters to set it.
Each rotor can be used once; picking one already in use swaps it with the slot that had it. Changing any setting clears the tape. You can also set the start letters by clicking a rotor window and typing.
■ Red: current from the key through the plugboard and all three rotors (right to left) to the reflector. ■ Blue: current returning through the rotors (left to right) to the lamp. Grey lines are each rotor's wiring in its present position; they move as the rotor turns. On a narrow screen, scroll sideways.
That is how the real machine worked. The Enigma had 26 letter keys and nothing else: no space, digits or punctuation. Operators ran words together, spelled numbers out, and commonly used X for a space or full stop. Tick the box in Settings and the space bar types X for you.
Counting only what an enemy would have to guess (rotor order, start positions and a ten-cable plugboard), the Enigma I had about possible settings. Ring settings and the choice of reflector add more. Size is not security, though: the Enigma was beaten by finding patterns in its output, such as the fact that it never codes a letter as itself, not by trying every setting.
?test=1 to this page's address to run the self-test in your browser.Nothing you type leaves your browser. A teaching toy: do not use it to protect real secrets; the real Enigma was broken in World War II. Built by Wayne Lambright.