Secret codes

Hagelin’s machines

Date: 1936Place: Stockholm (Sweden)Who?: Boris Hagelin

Hand-cranked machines sold worldwide… and a secret revealed in 2020

Devices and machines
Hagelin’s M-209
Hagelin’s M-209 — a hand-cranked cipher machine
Cherubino — CC BY-SA 4.0 — Wikimedia Commons

In brief

In the 1930s the Swedish engineer Boris Hagelin designed compact mechanical cipher machines that needed no electricity. His M-209 model, made in about 140,000 copies, equipped the US Army during the Second World War. After the war, his company Crypto AG, based in Switzerland, sold its machines to more than 120 countries.

The story

Born in 1892 in Baku, in the Russian Empire, Boris Hagelin took over a small Swedish cryptography firm in 1925. His C-36 machine fitted in a box: you set pin wheels, turned a handle, and the encrypted message was printed on a paper strip. Its American version, the M-209, weighed only a few kilos and served on every front. Hagelin became the first man to make a fortune from cipher machines.

In 1952, he founded Crypto AG near Zug in Switzerland, a neutral country that many governments trusted. In 2020, a journalistic investigation revealed that since 1970 the company had been secretly owned by the American CIA and the German BND, which had weakened the machines sold to many countries so they could read their messages. The intelligence services code-named the operation “Rubicon”.

Did you know?

The M-209 was not unbreakable, but it was strong enough for messages that only needed to stay secret for a few hours, the length of a battle.

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