Secret codes

Claude Shannon

Date: 1949Place: Murray Hill, New Jersey (United States)

The father of information theory, who proved a code could be perfect

Great codebreakers
Claude Shannon
Claude Shannon — the father of information theory
Jacobs, Konrad — CC BY-SA 2.0 de — Wikimedia Commons

In brief

Claude Shannon, an American engineer and mathematician at Bell Labs, published “A Mathematical Theory of Communication” in 1948, which laid the foundations of the digital age and popularised the word “bit”. In 1949 he also published the first scientific theory of secrecy, proving that the one-time pad is perfectly secure.

The story

During the Second World War, Shannon worked on encryption systems, including SIGSALY, the secret telephone link between Churchill and Roosevelt. In 1943 he met Alan Turing, visiting the United States, in the Bell Labs cafeteria: the two talked about thinking machines. His secret 1945 report on cryptography became the 1949 paper “Communication Theory of Secrecy Systems”.

In it Shannon defined a perfect cipher: the encrypted message must give no information about the plain message. He proved this is only possible if the key is at least as long as the message. He also introduced the ideas of “confusion” and “diffusion”, which still guide modern ciphers. A playful mind, he built juggling machines and a mechanical mouse that could find its way out of a maze.

Did you know?

He also built an “ultimate machine”: a box with a switch; when you turn it on, a hand comes out… and turns it off.

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: Great codebreakers