Adamandy · Polish achievements Polski

Cyclometer

Marian Rejewski broke Enigma by calculation, not guesswork. The cyclometer he built around 1934 computed quantities independent of the most expensive part of the German key. The five steps below lead from ordinary enciphering to breaking the daily key, and each is something you do, not a description. No prior knowledge is needed; underlined terms explain themselves when clicked.

Step 1 of 16

The machine that had to be broken

Enigma is an electric typewriter in which the current from a key travels through several turning drums and comes back, lighting a lamp with a different letter. Type anything and watch what happens inside.

Normalised
—
Ciphertext
—
Check decryption with the same settings
—
—
Current path through the machine
— Rotor windows at this key press
—

Stepping through the letters with the arrows shows the most important thing: the right-hand turns one position with every key press, so the machine's wiring is different for every letter. The same letter typed twice in a row gives two different results. The current always returns through the by a different route than it came, which is why no letter can be enciphered as itself. That design flaw was exploited by cryptologists throughout the war.

What the key consisted of

To read a message you need to know all the settings at once. Here is how many possibilities each of them had, with six pairs on the , as in the mid-1930s.