Unveil

Code

Classical and machine ciphers, from Caesar’s shift and the ACA’s 62 types to Enigma and Lorenz, and text as notes: enciphered with a key, chained, many broken without one.

Enigma

Simulates the Enigma I, M3 and M4, plugboard, rings and the double step, and the commercial K, the Railway Enigma and the Abwehr’s geared G, checked by Turing’s Railway message and Hamer’s G-312. Breaks three-rotor messages without the key: the Bombe from a crib, ten plugs and all, or the ciphertext alone for few plugs, by the index of coincidence (Gillogly, 1995) and a plug climb (Sullivan and Weierud, 2005).

Terms

History, how it works, how it was checked, limits

History

Arthur Scherbius patented his rotor machine in 1918; the Enigma I entered German service in 1930 with reflector A, B from November 1937. Marian Rejewski of the Polish Cipher Bureau reconstructed its wiring in 1932; in July 1939 the Poles gave their results to Britain and France. At Bletchley Park the Bombe of Alan Turing and Gordon Welchman searched from 1940 for each day’s settings from cribs. On 1 February 1942 the U-boats went over to the four-rotor M4. The commercial K, sold from 1927, served the Reichsbahn rewired; the Abwehr’s G drove its wheels by gears.

How it works

Each key press steps the rotors and sends the letter through the plugboard, rotors, reflector and back, so one setting enciphers and deciphers; at its notch the middle rotor steps again with the left, the double step. The machine is drawn key press by key press from its own wiring: the windows, the notches, the current’s way. Without the key, the Bombe takes a crib at its place, tries every rotor order, position and turn of the middle rotor within it, and follows a guess at one plug through the crib's letters until a contradiction rules it out; what survives gives the rotors and most plugs, the rest searched after. From the ciphertext alone every setting is scored by the index of coincidence, the likeliest given their plugs by climbing. The K and Railway have a QWERTZU entry wheel and a hand-set reflector.

How it was checked

Rotors I-II-III, reflector B, start AAA and rings 01 turn AAAAAAAAAA into BDZGOWCXLT; reflector A reads the 1930 test message, indicator and all. Eight archive exhibits decrypt with their keys. The Bombe reads both parts of Army message 20 of 7 July 1941 from cribs of 20 and 14 letters, all ten plugs found. From the ciphertext alone the tests read 250 letters with four plugs. The K reads its maker’s example but for one misprinted letter, the Railway Turing’s message in two wirings, the G Hamer’s table of its steps.

The tests hold 122 checks of this tool; 3 rest on outside material:

  • A print’s own example The ChiMaAG booklet (stamped 33, pp. 15–17): 44 of 45 letters; its 12th is printed H, where the machine enciphers B as W
  • A print’s own example His Fig. 11: at J E Z E, Y enciphers to P, and the next position is J E A F
  • A print’s own example The G’s gear stepping: Hamer’s Table 3 (G-312, 2000), NZAM to ODGW, the lobster at OBDR

Every tool’s checks

Limits

The Bombe and the ciphertext search take the Enigma I’s three rotors; the K and Railway are read from a crib, the M4 and the G not at all. With ten plugs, ciphertext alone needs a crib. A double step within the message can hide the right setting. The left and middle rings show only in a double step, so the key is given for equivalent rings.