What is the Enigma Machine?
Compare rotor encryption with pencil-and-paper systems on the classical ciphers hub, decrypt without a key guides, and Caesar / substitution cracker walkthroughs. The Enigma was a German electromechanical cipher machine used heavily in World War II. Unlike those classical ciphers, it encrypted radio traffic by lighting one of twenty-six lamps per keypress. Commercial models preceded military service; the Wehrmacht and Kriegsmarine added interchangeable rotors, daily key sheets, and strict operator discipline. This hub combines an online Enigma machine, Enigma decoder, and educational articles so you can simulate, encrypt, and study WWII cryptography in one place.
How the Enigma Machine Works
Each keypress steps the fast rotor, then sends current through the plugboard, three rotors (right to left), a reflector, back through the rotors, and out through the plugboard to a lamp. The reflector forces the signal to return, so a letter never encrypts to itself at that instant—useful for wartime crib attacks. Because rotors advance before every letter, the substitution changes continuously; repeating plaintext letters produce different ciphertext letters, defeating naive frequency counts.
Our simulator shows this path on the signal rail and in the trace panel above. For a focused walkthrough without the full UI, read how the Enigma machine works or try the dedicated Enigma machine simulator overview.
Rotor Configuration Explained
Army machines used five labeled rotors (I–V); operators installed three in the carriage (slow left, middle, right fast). Rotor order matters: II-IV-I differs from I-IV-II. Window positions are the visible starting letters (26³ combinations). Ring settings rotate each rotor’s alphabet ring relative to the internal wiring, shifting when turnover notches engage neighboring drums—including the “double step” that advances the slow rotor when the middle rotor sits on its notch.
Configure rotors in the Machine console, then dive deeper in our Enigma rotor settings guide (order, rings, reflectors A–C).
Plugboard System
The Steckerbrett swapped up to ten letter pairs at entry and exit. Ten pairs leave six letters unsteckered but multiply combinatorial keyspace dramatically. Pairs are symmetric: if A connects to E, then E connects to A for both encryption and decryption. In the simulator, click sockets on the machine housing or review pairs in the Plugboard accordion—wrong stecker wiring garbles the entire message after the first letter.
Example Encryption & Decryption
With rotors I / II / III at window positions A-A-A, reflector B, and no plug pairs, type HELLO using Encode or single keypresses. Note how lamps differ letter by letter even when plaintext repeats. To decrypt, keep identical settings and type the ciphertext letters on the keyboard—the lamps reveal plaintext because Enigma is symmetric. For a step-by-step decoding checklist, see the Enigma decoder online page.
Classroom tip: publish only rotor order, positions, reflector, and plug pairs on a worksheet; students exchange ciphertext produced by this Enigma code simulator and recover messages without sharing the simulator link until the exercise ends.
Historical Context (WWII / Alan Turing / Bletchley Park)
Polish mathematicians Marian Rejewski, Jerzy Różycki, and Henryk Zygalski broke Enigma procedurally before 1939 and shared results with Allied allies. At Bletchley Park in England, Alan Turing and Gordon Welchman refined the Bombe—an electromechanical search engine that tested rotor orders against guessed plaintext (cribs), eliminating contradictions when a letter would have encrypted to itself. Thousands of Wrens and civilian staff operated bombes, verified German, and fed Ultra intelligence to commanders.
Breaking Enigma was not guessing one password; it was cataloging traffic, exploiting operator mistakes (repeated keys, weather headings), capturing rotors from U-boats, and industrializing search. Naval four-rotor Enigma remained harder than army three-rotor traffic. The full interactive story—including crib diagrams and timelines—lives in How Enigma Was Broken.
FAQ
What is the Enigma machine?
A WWII German device that encrypted letters electromechanically via rotors, a reflector, and an optional plugboard, outputting ciphertext on a lampboard.
How does Enigma encryption work?
Rotors step, then current permutes through plugs and drums forward, reflects, returns, and lights one lamp. Settings define the permutation for each keypress.
Can Enigma messages be decoded?
Yes with the correct daily key. Without it, WWII analysts used cribs and bombes; this site lets you decode when you know rotor and plug settings.
What are Enigma rotors?
Interchangeable wired wheels whose order, position, and ring setting control substitution; turnover notches advance neighboring rotors as you type.
Is this an Enigma simulation or a real machine?
A browser-based Enigma simulation modeling army-style stepping and wiring for education—not a hardware replica, but accurate enough for classroom encipherment exercises.