Desktop copy. This is one file: keep it anywhere and double-click it, no internet needed. The newest version and the other machines are at lambright.com/enigma.
ÜBER-ENIGMA
Die Achtwalzenmaschine: the eight-rotor Enigma that never existed.
The real Enigma I had three rotors. This imaginary machine has eight, wired exactly like the real thing, using genuine Army and Navy rotor wiring (I to VIII, Beta and Gamma). Type on the keys and watch the stepping ripple down the line. Every rotor is real; the machine is not.
Lampenfeld (lamp board)
Walzen (rotors, left to right): click a window, then type letters to set it
Tastatur (keyboard)
Steckerbrett (click two sockets to connect them; up to 13 cables)
Papierstreifen (paper tape)
IN
OUT
Remember and share this setup
The picture shows the rotors, start letters, ring settings, reflector and plugboard. The settings link rebuilds the same setup when someone opens it; your typed text is never in the link. “Post to X” and “Share on Facebook” each open a small window with the post already written (“Learn to encrypt with frens” and the link to the page you are on); you press Post there. To add your settings picture, use “Save settings picture” and attach it yourself.
Ten rotors exist (I to VIII, Beta, Gamma) for eight slots. Each can be used once; choosing one already in use swaps them. Changing any setting clears the tape. You can also set the start letters by clicking a rotor window and typing.
Encode a whole message at once
Current path through the wiring
■ Red: current from the key through the plugboard and all eight 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.
Why no space bar?
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.
Die Zahlen: how big is the secret?
The Über-Enigma has about possible settings by the same count (rotor order, start positions and a ten-cable plugboard), which is times the of the real Enigma I. Size is not security, though: what matters is whether the machine leaks patterns, and this one still never codes a letter as itself, which is the same flaw that helped the codebreakers.
How it works
Stepping: the rightmost rotor steps on every key. Each other rotor steps when the rotor to its right is at a turnover notch, and the pawl that carries it also moves the rotor that holds the notch (the real machine's “double step”). Rotors VI, VII and VIII have two notches (Z and M); Beta and Gamma have none, so they never trigger the rotor to their left.
Path: keyboard, plugboard, entry wheel, rotors 8 to 1, reflector, rotors 1 to 8, plugboard, lamp.
Reciprocal: set the same start and type the coded text to get the original back.
Wiring used: rotors I to VIII, Beta and Gamma and reflectors A, B, C, B-thin and C-thin, as listed by the Crypto Museum. Beta, Gamma and the thin reflectors belonged to the Navy's four-rotor M4; mixing them freely is part of the fiction.
Checks: with only rotors I, II, III and reflector B this engine gives BDZGO for AAAAA, and Beta or Gamma with the matching thin reflector behave exactly like reflector B or C. Add ?test=1 to run the self-test.
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.