Secret codes

The Lorenz cipher machine

Date: 1941Place: Berlin (Germany)Who?: The C. Lorenz AG company

The machine of Hitler and his generals, broken thanks to an operator’s mistake

Devices and machines
A Lorenz SZ42 machine
A Lorenz SZ42 machine — with its twelve wheels
Public domain — Wikimedia Commons

In brief

The Lorenz machine, or SZ40/42, encrypted messages from the German High Command sent by teleprinter. More complex than Enigma, it used 12 wheels. On 30 August 1941, an operator sent almost the same message twice with the same settings: this mistake allowed the British to understand the machine without ever having seen it.

The story

The British nicknamed this traffic “Tunny”. The teleprinter turns each letter into five signals, and the Lorenz machine adds a stream of signals produced by its wheels. That day in August 1941, a message of about 4,000 characters was badly received and resent with a few abbreviations, but with the same key. The codebreaker John Tiltman recovered both texts and the key’s stream of signals.

From that stream, the young mathematician Bill Tutte worked out the machine’s complete structure in a few months: the number of wheels and their sizes. It is one of the greatest feats of codebreaking. To decrypt the messages fast enough, the engineer Tommy Flowers then built Colossus, an electronic computer.

Did you know?

Only a few Lorenz machines were found after the war; one can be seen at the National Museum of Computing at Bletchley Park.

Sources: D. Kahn, The Codebreakers, 1967 (rev. ed. 1996); S. Singh, The Code Book, 1999; F. L. Bauer, Decrypted Secrets, 4th ed., 2007; C. P. Bauer, Secret History: The Story of Cryptology, 2nd ed., 2021; texts written for this site.

In the same family: Devices and machines