Interactive Enigma machine simulator with authentic WWII rotor configurations. Encrypt and decrypt messages, configure plugboard and reflector settings.
This is an interactive model of the WWII German Enigma cipher machine. It reproduces the real electromechanical components and their behavior so you can encrypt and decrypt messages exactly as an operator would have in the 1940s:
Pressing a key sent current through the plugboard, forward through the rotor stack, into the reflector, back through the rotors, and out to light a lamp. Crucially, the rightmost rotor stepped on every keypress, so the substitution changed letter by letter — a polyalphabetic cipher rather than a simple one. The same machine settings decrypt: Enigma is reciprocal, so encryption and decryption are the same operation.
The reflector guaranteed that no letter ever encrypted to itself. That single constraint, plus operator habits and predictable message cribs, gave Allied cryptanalysts at Bletchley Park the leverage to break it with the Bombe. It is a foundational lesson in cryptography: a large keyspace (Enigma's was enormous) does not guarantee security if the design leaks structure.
For a gentler first step into substitution ciphers, try the Caesar Cipher, then return here to see how rotor stepping defeats simple frequency analysis.