Enigma · 04 Worked example

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:

terminale
Alphabet  ABCDEFGHIJKLMNOPQRSTUVWXYZ
Rotor I   EKMFLGDQVZNTOWYHXUSPAIBRCJ
Reflector B  YRUHQSLDPXNGOKMIEBFZCWVJAT

This 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.

terminale
Plaintext   A A A A A
Ciphertext  B D Z G O

Five 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.

Continue with
05 Weaknesses and attacks

Enigma: weaknesses and attacks

The reflector, key transmission procedures, predictable messages and operator errors: the cracks through which cryptanalysis got in.

↑