Enigma: worked example
An example with the historical wirings of rotors I, II and III and reflector B, to see how the same letter produces different letters.
The wirings of the Enigma rotors are public today. Rotor I, for example, connected the letters A to Z, in order, to these:
Alphabet ABCDEFGHIJKLMNOPQRSTUVWXYZ
Rotor I EKMFLGDQVZNTOWYHXUSPAIBRCJ
Reflector B YRUHQSLDPXNGOKMIEBFZCWVJATThis means that, in position A, rotor I turned A into E, B into K, C into M and so on. Reflector B swapped A with Y, B with R, and vice versa.
The same letter five times
Take the configuration used as a test by simulator builders: rotors I, II and III, reflector B, rings and starting positions all on A, no plugboard cables. Type the letter A five times.
Plaintext A A A A A
Ciphertext B D Z G OFive A’s become five different letters, because at every keypress the right-hand rotor advances and the electrical path changes. This is what makes classic frequency analysis useless: the same plaintext letter has no single ciphertext counterpart.
Enigma: weaknesses and attacks
The reflector, key transmission procedures, predictable messages and operator errors: the cracks through which cryptanalysis got in.
The pages of this topic
Back to the overviewEnigma: history
From Arthur Scherbius’s 1918 patent to adoption by the German armed forces and the Navy’s four-rotor versions.
Enigma: key figures
Inventors, mathematicians and codebreakers: the people who built Enigma and those who managed to break it.
Enigma: how it worked
The path of a letter inside Enigma: keyboard, plugboard, rotors, reflector and lamps, and the movement of the rotors at every keypress.
Enigma: legacy
What Enigma left to modern cryptography and to the history of computing: principles, methods and the myth of Bletchley Park.
Enigma today
Museums, simulators, auctions and teaching: where Enigma is found today and why it is still a valuable tool for learning cryptography.
Enigma: frequently asked questions
Short answers to the most common questions about Enigma, how it was broken and Turing’s role.