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.

Lorenz SZ42

The SZ40/42 added a key to each five-impulse teleprinter character: five χ wheels that move every character, five ψ wheels that move together when two motor wheels allow, and on the SZ42 a limitation from χ2 one back. Bletchley called it Tunny. With the patterns known, Colossus here sets all twelve starts from the ciphertext by Tutte’s delta counts. Tested on a real SZ42’s 2007 transmissions.

Terms

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

History

The Lorenz SZ40 and SZ42 enciphered the German Army’s high-level teleprinter links from 1941 to 1945; Bletchley Park called them Tunny. In August 1941 a long message went twice on one setting: John Tiltman recovered the key, and Bill Tutte deduced the machine’s logic from it, then found that the cipher’s deltas lean to dot at the right χ setting. Colossus, designed by Tommy Flowers and at work from early 1944, counted those deltas. On 15 November 2007, marking Tony Sale’s Colossus rebuild, three messages enciphered on a real SZ42 were broadcast; Joachim Schüth broke them the same day.

How it works

Five χ and five ψ wheels key each five-impulse character: K = χ ⊕ ψ′, Z = P ⊕ K. The χs and μ61 step each character, μ37 on a cross of μ61, the ψs on one of the total motor (μ37 and, on the SZ42A, χ2 one back). With the patterns known, Colossus here counts the dots of ΔZa ⊕ ΔZb ⊕ Δχa ⊕ Δχb for every pair of χs at all their settings, breaks in on the highest pair and sets the other χs by their counts. On the de-chi, where the ψs stand still half the time, every motor setting is tried and the ψs found where the text leans most; of the eight likeliest χ sets the one whose text reads best is kept, set only from fluency 50.

How it was checked

The tests take the General Report’s examples (§11B), Tiltman’s figure 5 of 1961, and the opening of each 2007 transmission from Schüth’s recordings; the whole 1600 UTC message, 5,880 characters, deciphers to the text the Cipher Archive shows. From it alone all twelve starts come out, also from its first 1,500. On windows of it all twelve came out in 14 of 16 of 2,000 characters, 9 of 20 of 1,000; right starts read at 76–91 in German, wrong at 0–19.

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

  • A historical message Cipher Event 2007, 1600 UTC: the opening deciphers
  • A historical message Cipher Event 2007 exhibit: 5,880 characters decipher to the text shown
  • A historical message Colossus’s run as a map: a count for each of the 41 × 31 settings of χ1 and χ2 of the 2007 Cipher Event message, the highest the one chosen
  • 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 Lorenz drawn: the pins at the positions drawn are the χ and ψ′ the engine added, all 20 characters of Tiltman’s example

Every tool’s checks

Limits

Colossus here sets the starts, not the patterns, which Bletchley broke by hand; the SZ40 and SZ42A, not the SZ42B or P5. It needs teleprinter traffic, 700 characters at least. On the 2007 message wrong settings stood up to 6.2 σ, where the General Report took 4.5 as certain for one run of two wheels (23C(a)): σ alone sets nothing. In another language than the message’s, right starts read under 50. The switch-on rule is not modelled; Tiltman’s μ61 lacks one pin, set to a dot.