The Code Book · Simon Singh
Main Themes
3 min readThe arms race between codemakers and codebreakers
This is the book's organizing idea. Singh structures the history as a cycle: a cipher is thought secure, an analyst finds its weakness, and codemakers must invent something stronger. Frequency analysis defeats simple substitution ciphers, which leads to the Vigenère cipher, the "indecipherable" cipher of the chapter title. That cipher eventually falls too. Mechanization then produces Enigma, and Allied codebreakers defeat it. Each chapter works as one round of the contest. The pattern makes the later chapters feel like a continuation of a long story rather than a sudden turn to mathematics.
Cryptography shapes history
Singh treats secrecy as a force that changes outcomes. The book opens with Mary, Queen of Scots, whose confidence in her cipher helped lead to her execution once her enemies read her correspondence. The Enigma chapters show the other side: breaking a cipher gave the Allies intelligence in World War II. The Navajo code talkers extend the point, showing a code built on a living language that the enemy could not crack. Singh keeps the stakes human by focusing on individuals (conspirators, queens, mathematicians, soldiers) rather than on abstract technique.
The problem of key distribution
A quieter theme is that the hardest part of secrecy is often not the cipher but sharing the key. Earlier systems, including Enigma's daily settings, depended on keys being distributed safely, which is a logistical weakness. The chapter "Alice and Bob Go Public" shows how public-key cryptography, with RSA as its best-known form, solved this problem by letting strangers communicate securely without meeting first. Singh presents this as a conceptual breakthrough, and he ties it to the Internet commerce that depends on it. The recurring figures Alice and Bob make an abstract idea easy to follow.
Security, privacy, and power
Once strong encryption is available to everyone, the question becomes who should control it. The Phil Zimmermann and PGP chapter turns the book toward politics. Governments and intelligence agencies want to read communications for security reasons, while individuals want privacy. Singh sets these claims against each other, and the chapter's discussion of laws restricting strong encryption shows that the old contest between makers and breakers has become a public debate about civil liberties. Codebreaking is no longer only a military affair.
Hidden work and unacknowledged genius
Codebreaking often has to stay secret, and Singh repeatedly notes the consequences. Much of the work at Bletchley Park remained classified long after the war. The same pattern appears in the public-key story, where researchers working in secret government settings had reached key ideas before the academics who received public credit. The theme invites readers to ask how secrecy distorts the historical record, which is fitting in a book about secrecy.
Provisional confidence and the promise of the unbreakable
Singh repeatedly shows how misplaced confidence can be. Mary trusted her cipher, and the Germans trusted Enigma. The Vigenère cipher was long thought unbreakable. Against this history, the modern claim that a well-chosen cipher would take all the world's computers longer than the age of the universe to break reads as both reassuring and cautionary. Singh also notes that quantum computers could in principle threaten RSA, while quantum cryptography offers the possibility of a truly unbreakable system. His last chapter is carefully balanced. It presents quantum cryptography as potentially ending the contest, but the book's history invites skepticism about any claim of finality. Readers coming to the book now, after further developments in quantum computing and in the search for quantum-resistant methods, will find that this theme has only become more relevant.
Questions to consider
- Does Singh's closing optimism about quantum cryptography fit with the pattern of earlier chapters?
- Which is more important in the book's examples: the strength of a cipher, or the way people use it?
- Where does Singh seem most sympathetic: to codemakers, codebreakers, or those arguing for privacy?
