The documentary opens with a hands-on demonstration of an authentic World War II Enigma machine alongside experts at Bletchley Park. Host Gregor Čavlović and Bletchley Park volunteer Andrew Fryer explain how Enigma converted plain text into ciphertext via polyalphabetic substitution, advancing internal rotors with every key press to constantly alter the electrical path.
Sir Dermot Turing explains that Enigma was originally invented in 1918 by German engineer Arthur Scherbius for commercial banking before the Nazi military adopted and modified it. The basic machine passed electric current through three scrambled rotors, a reflector, and back through the rotors to light up a lamp on the display panel. The German military significantly heightened security by introducing movable rotor rings and a front plugboard (Steckerbrett), pushing the total possible key space from 105,456 configurations to over 7 x 10^18.
Despite this astronomical key space, Polish cryptanalysts led by Marian Rejewski achieved the first major breakthrough in 1933. Using mathematical permutation theory and stolen German documents supplied by French intelligence, Rejewski reverse-engineered the internal rotor wiring without ever seeing a military Enigma machine. When Germany added additional rotors and plugboard cables in 1938–1939—expanding the key space to over 10^23—the Poles shared their findings and their automated 'Bomba' concept with Britain and France right before Poland was invaded.
At Bletchley Park, Alan Turing recognized that manual decryption could not keep pace with daily German key changes. Turing exploited Enigma's fundamental structural flaw: an input letter could never encrypt to itself. Using probable plaintext phrases ('cribs'), Turing constructed logical loops of letter transformations. He further realized that back-to-back plugboard connections in a loop cancel each other out, isolating the combined rotor transformations from the plugboard's trillions of possibilities.
To solve the issue of excessive false positive stops on early prototypes, mathematician Gordon Welchman invented the 'Diagonal Board.' This cross-connected plugboard hypotheses and eliminated over 90% of false stops. The resulting electromechanical 'Bombe' machine could search through 17,576 rotor settings in roughly 13 to 20 minutes, allowing Bletchley Park to routinely read Nazi communications and alter the course of World War II.