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.

Hagelin M-209

The M-209 enciphered US Army traffic from 1942: six pinwheels of 26 to 17 letters and a drum of 27 bars, the bars kicked setting how far a reversed alphabet slides. Both manuals’ key lists and a 1943 division’s are here with their 26-letter checks. Without the key, pins and lugs come back from about 75 known letters or 1,000–1,500 letters of ciphertext alone, by Lasry, Kopal and Wacker’s methods.

Terms

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

History

The Converter M-209 enciphered the US Army’s tactical traffic from 1942. TM 11-380 describes it (April 1942, March 1944), and a division’s Signal Operation Instructions of July 1943 give pins and lugs for every day with a 26-letter check. George Lasry, Nils Kopal and Arno Wacker published computer attacks in Cryptologia: from known plaintext (2016) and from the ciphertext alone (2016; shorter messages, 2018).

How it works

Each letter is c = k − p − 1 (mod 26), k the number of bars kicked, so a known letter gives its k. From known plaintext, pins and the counts of each kind of bar are climbed for until the machine gives every known k, scored by how far it is off. From the ciphertext alone, lug settings like the issued ones are tried and moved, for each the pins found by simulated annealing on the chosen language’s letter frequencies with Z for the space; every core searches, and the first text that reads as the language ends the search. The figure draws each letter from the machine’s record.

How it was checked

The tests encipher the Declaration of Independence on the 1944 manual’s key: 100 known letters give all 300, from the opening or from letter 201, and the key found deciphers it on the machine; 1,500 letters on the 1943 list’s key are read from the ciphertext alone. Measured on Dickens with the manuals’ and the division’s keys at random starts: 75 known letters gave the key 16 times in 16, 60 letters 7, 50 none; from the ciphertext alone, on seven cores, the King James Bible too, 1,000 letters were read 16 times in 16 and 1,500 letters 15 in 16 within a minute, 750 letters 11 in 16 within two minutes, twice stopping on a text partly wrong. In the browser a 1,500-letter message on the 7 July 1943 key was read in 28 seconds.

The tests hold 162 checks of this tool; 6 rest on outside material:

  • A print’s own example M-209 TM 11-380, 1942 (manual example): the check
  • A print’s own example M-209 TM 11-380, 1944 (manual example): the check
  • A print’s own example M-209, July 1943: every day checks but the two misprinted in the document
  • A print’s own example Tiltman 1961, fig. 5 (Bream, 14 April 1944)
  • A print’s own example Chaocipher wheels: Rubin 2010’s own letter (pp. 3–5): plain A at position 13 beside cipher P; E taken out on the left and K on the right, both put back at the nadir
  • A print’s own example M-209 drawn: the trace of 26 A’s from AAAAAA prints TM 11-380’s 26-letter check

Every tool’s checks

Limits

The text cannot show where the operator set the wheels, so the pins are given for the start in the field. The search from the ciphertext alone was measured on English, with a space keyed as Z, and looks only at lug settings like the issued ones: every bar used, 1 to 13 lugs on each wheel; Lasry’s own attack reads messages from about 500 letters. Under about 60 known letters a key can give them all but not the rest; the tool then says so.