Bletchley Park

Secret Writing: A History of Codes, Ciphers and Codebreaking

Course 1 · Chapter 9 · Bletchley Park

Chapter 8 left the Allies holding Polish methods and replicas, and facing a machine whose settings changed every day. Reading Enigma and its cousins at the pace of a war needed more than clever people: it needed organisation, machines and absolute secrecy. This chapter visits the country house that became the centre of that effort, then crosses the Pacific to a very different kind of secret language.

A Factory for Reading Messages

Bletchley Park, a Victorian estate north-west of London, became the home of Britain's wartime codebreakers. It grew from a small group into thousands of staff, many of them women, working in shifts. Messages arrived from radio interception stations, were broken, translated, assessed and sent on to commanders in a form that hid where the information had come from. The place worked less like a laboratory and more like a factory with a very unusual product.

Key ideas and dates Alan Turing: mathematician who led work on the naval Enigma and on the design of the bombe.
Bombe: an electromechanical machine that tested possible Enigma settings against a crib.
Lorenz cipher ("Tunny"): a different German teleprinter cipher, used for high-level messages.
Colossus (1943-44): an early electronic machine built to help break Lorenz traffic.
ULTRA: the code name for intelligence obtained from broken high-grade ciphers.
Navajo code talkers (from 1942): US Marines who sent messages in a spoken code based on the Navajo language.
Not Yet Verified The names, dates and descriptions above are written from general knowledge and were not checked against a source for this chapter. Treat them as pointers for your own search.

The Bombe: Testing Guesses at Machine Speed

Chapter 8 introduced the crib, a guessed piece of plain text. The bombe turned cribs into a method. Given a crib and the matching cipher text, it ran through the possible rotor positions and checked each against a chain of logical consequences. Whenever a setting led to a contradiction, the machine moved on. When it stopped, it had found a candidate that was worth testing by hand.

Two facts from Chapter 8 made this possible. Because Enigma never encrypts a letter as itself, the crib could be slid along the message and many positions ruled out at once. And because the plugboard swaps letters in pairs, the logic about them could be wired into the machine itself. The bombe did not read messages on its own. It cut an impossible search down to one that a team could finish in time.

The shape of the attack, in outline 1. Guess a crib (for example a weather report) 2. Slide it along the cipher text; drop positions where a letter meets itself 3. Run the bombe on the surviving positions 4. Test the candidate settings by hand; if they give German, read the day Once the day's settings were found, every message of that day on that network could be read.

Lorenz and Colossus

Enigma was the field and naval cipher. The highest German commands used something else: the Lorenz machine, which enciphered teleprinter signals automatically, with no operator typing letters one at a time. The British called the traffic "Tunny". It used twelve wheels, was far more complex, and the first breakthrough came not from the machine but from an operator's mistake: a long message was sent twice with small changes under the same settings. That is the reuse failure of Chapter 7 again.

The analysis of Lorenz needed huge amounts of counting. An electronic machine, Colossus, built by a team at the Post Office research station, did that counting with valves rather than moving parts, and it read paper tape at high speed. It was not a general-purpose computer, but it is an important early step toward them.

Not Yet Verified The number of Lorenz wheels, the circumstances of the first break, and the exact abilities and numbers of the Colossus machines are written from general knowledge and were not checked. Search for sourced accounts before relying on them.

People and Secrecy

The staff came from universities, chess clubs, crossword competitions and the armed services. Many were young women recruited as machine operators, clerks and linguists. Everyone signed a promise of silence and, for decades after the war, most kept it. Families did not know what their relatives had done. The existence of the work was not made public until the 1970s, and some details emerged later still.

That secrecy was also part of the method. If the Germans had suspected that Enigma was being read, they would have changed it. So the intelligence, called ULTRA, was passed on carefully. Commanders were sometimes given a cover story, such as a spotter aircraft, to explain how they knew where a convoy or a supply ship would be. Deciding when to act on a secret, and when to let a ship go unwarned so the source would not be exposed, was among the hardest questions of the war.

Not Yet Verified Staff numbers, the proportion of women, the date when the work became public and the stories about cover for ULTRA are written from general knowledge and were not checked. Some popular stories of ULTRA decisions are disputed by historians.

A Spoken Code in the Pacific

In the Pacific the problem was different. Messages had to travel fast between units on the battlefield, by radio and telephone, and a machine was too slow and heavy. The US Marine Corps recruited speakers of Navajo, a language with no written form widely known outside the community, and built a code on it. Words in Navajo were used as stand-ins for letters and for military terms, so an enemy overhearing the message heard a language they could not follow, and a vocabulary that did not mean what it said.

This is a code and a language-based security measure at once. It worked because the language itself was obscure to the enemy and the code word list was kept in memory, not on paper. The code talkers carried messages quickly and accurately under fire.

Not Yet Verified The start date, the number of code talkers, the example code words and the date when the programme became public are written from general knowledge and were not checked. Several Native American nations took part in similar work, and the stories vary between sources.

Comparing the Methods

SystemMediumStrengthHow it was attacked
EnigmaLetters, by operatorHuge number of settingsCribs, the bombe, procedure errors
LorenzTeleprinter signals, automaticMany wheels, machine speedA reused key, then counting with Colossus
Navajo codeSpoken, by radioObscure language plus code wordsNot broken in the field

What Bletchley Teaches

First, industrial attack beats clever design: the Allies won by organising people and machines, not by one inspired trick. Second, secret intelligence is only useful if you act on it, and acting can reveal the secret. Third, the right system depends on the job: a machine for long signals, a spoken code for the battlefield.

Try it yourself: where can the crib go? An enemy message reads KBRQJINZ. You guess it contains the word RAIN. Because Enigma never enciphers a letter as itself, a position is impossible if any crib letter lines up with the same cipher letter. Slide RAIN along the message and find which of the five starting positions (counting from 0) survive.
Show the worked answer

Position 0: R/K, A/B, I/R, N/Q, no clash, possible. Position 1: R/B, A/R, I/Q, N/J, no clash, possible. Position 2: R meets R, impossible. Position 3: I meets I, impossible. Position 4: R/J, A/I, I/N, N/Z, no clash, possible. So three positions survive (0, 1 and 4) and two are ruled out for free. This is the first step the codebreakers took before a bombe was used.

Where This Leaves the Secret Writer

By 1945 the Allies had read vast quantities of enemy traffic and kept the secret for a generation. The war also produced the first electronic computers and a new profession of signals intelligence. The next chapter follows these secrets into the Cold War, where the ciphers became unbreakable in principle and the contest moved to spies, listening posts and radio broadcasts.

Exercises

Exercise 1

The cipher text is HXLQAEDPRM and the guessed crib is MEET. Slide the crib along the message (positions 0 to 6) and list the positions that are impossible because a crib letter meets the same cipher letter. How many positions remain?

Exercise 2

A word-for-letter code uses this table: ant = A, ice = I, sheep = S, lamb = L, nut = N, deer = D. Decode: ice sheep lamb ant nut deer. Then explain why a code of this kind might give two or three different words for a common letter such as E.

Exercise 3

Use A=1 up to Z=26. A machine adds a key number to each letter, wrapping around after 26. The key stream is 5, 9. (a) Encipher NO. (b) Decipher ZY. (c) Chapter 7 and this chapter both show a reused key being fatal. Explain, in a sentence or two, what an enemy gains when two messages share the same key stream.

Quick Reference

  • Bombe: machine that tests rotor settings against a crib
  • Lorenz ("Tunny"): automatic teleprinter cipher for top-level messages
  • Colossus: early electronic machine used against Lorenz
  • ULTRA: intelligence from broken high-grade ciphers, protected by cover stories
  • Navajo code talkers: spoken code on an obscure language, used in the Pacific
  • Check: dates, numbers, names and the stories about ULTRA

Next chapter: Cold War Secrets, with one-time pads, VENONA, number stations and the Kryptos sculpture.