Enigma Machine Simulator & Decoder
Accurately simulate the historical German WWII military Enigma machine (Enigma I / M3) with configurable rotors (I–V), ring settings, and plugboard connections.
Detalhamento do Cálculo
Sobre Enigma Machine Simulator & Decoder
The Enigma machine was an electro-mechanical rotor cipher machine developed by German engineer Arthur Scherbius at the end of World War I. Widely adopted by the German military (Wehrmacht, Luftwaffe, and Kriegsmarine) throughout the 1930s and World War II, it was regarded by Nazi leadership as entirely unbreakable.
The Enigma cipher operated through a complex electrical circuit combining a 26-letter keyboard, a steckerbrett (plugboard) that swapped pairs of letters, three or four interchangeable mechanical rotors that stepped with each keypress, and a fixed reflector (Umkehrwalze) that bounced the electrical signal back through the rotors along a different path before lighting an output lamp.
A crucial mathematical property of the Enigma was that it was reciprocal (pressing the same key combination decoded ciphertext back to plaintext), but a machine could never encipher a letter as itself—a fatal design flaw exploited by codebreakers.
Como usar esta ferramenta
- Insira o texto ou valor no campo de entrada.
- Configure as opções ou direções de conversão conforme desejado.
- O resultado convertido é gerado instantaneamente em tempo real.
- Clique no botão Copiar para salvar o resultado.
The Enigma Machine Stepping & Reflection Mechanism
Each time a key is pressed, the rightmost rotor advances by one position. When a rotor reaches its turnover notch, it triggers the middle rotor to advance on the next step. The reflector ensures the current travels through the rotors in both directions, making encryption and decryption completely reciprocal.
Because the current always looped through the reflector and returned along an alternative wire, an Enigma machine could never encode a letter as itself ($E(x) \ne x$).
Enigma Machine Simulation Examples
Standard Military Setting (Rotors I-II-III, Reflector B)
Enciphering greeting with start position "AAA" and plugboard "BQ CR DI".
Reciprocal Decryption
Typing ciphertext with identical rotor positions deciphers the text.
Historical Wehrmacht Enigma Rotor Wirings
| Rotor | Wiring Sequence (A–Z) | Turnover Notch |
|---|---|---|
| Rotor I | EKMFLGDQVZNTOWYHXUSPAIBRCJ | Step at Q (R) |
| Rotor II | AJDKSIRUXBLHWTMCQGZNPYFVOE | Step at E (F) |
| Rotor III | BDFHJLCPRTXVZNYEIWGAKMUSQO | Step at V (W) |
| Reflector B | YRUHQSLDPXNGOKMIEBFZCWVJAT | Non-rotating |
Historical Simulation Accuracy
- Implements authentic Wehrmacht Enigma I / M3 rotor mechanics, including turnover notches, ring settings, and the double-stepping anomaly of the middle rotor.