Book series / Math & Science
Part of: The Code Book: The Secrets Behind Codebreaking by Simon Singh: Series 09

What Can Letter Patterns Reveal About a Secret Message?

An original concept note for a LabCurio series inspired by The Code Book: The Secrets Behind Codebreaking, Simon Singh’s young-adult adaptation

Category: Math & Science
Suggested reader: Ages 12+; publisher lists grade 7 and up
Reading time: About 5 minutes
Spoilers: None

Imagine every letter in a message has been swapped for a different letter. The words look unfamiliar, but the message may still carry clues from ordinary language. If one symbol appears much more often than the others, could it stand for a letter that is common in English, such as E?

That clue is called frequency analysis: count how often symbols appear and use the pattern to make a careful guess. It does not magically reveal a message, and a short sample can be misleading. But it shows why changing letters is not always enough to hide the structure of a language. The National Security Agency’s historical cryptology materials describe analysts using letter frequencies to work on substitution ciphers. NSA: Military Cryptanalysis, Part I

A tiny example

Here is a message changed with the Atbash cipher, which swaps the alphabet from opposite ends: A becomes Z, B becomes Y, C becomes X, and so on.

Ciphertext: NVVG NV ZUGVI GSV TZNV ZMW YIRMT GSV YOFV YLLP

If you count the letters, V appears often. That might be a clue, because E is common in English. But it is only a clue—not proof that V stands for E. The cipher also preserves word lengths and repeated-letter patterns. For example, GSV appears twice. A codebreaker can use several clues together, test a guess, and see whether it produces a sensible message.

With this particular cipher, the rule is simple enough to try directly: reverse each letter across the alphabet. The message reads: MEET ME AFTER THE GAME AND BRING THE BLUE BOOK.

Why counting is not enough

Suppose a secret message is only three letters long. If one symbol appears twice, that might be a common English letter—or it might just be a coincidence. A longer message gives you more data, but you still need to consider the kind of cipher, the language, names, abbreviations, and whether spaces have been kept.

Good codebreaking is not “E is common, so every repeated symbol must be E.” It is more like solving a mystery:

  1. Notice a pattern.
  2. Make a possible explanation.
  3. Test whether it fits other parts of the message.
  4. Keep it only if it continues to make sense.

If the guess creates nonsense everywhere else, revise it. That is the same habit used in many investigations: a clue should fit the whole picture, not just one convenient detail.

Try a codebreaker’s check

Write a short, harmless sentence and encode it with Atbash using the alphabet rule above. Give the ciphertext to someone who has not seen the original. Ask them to:

  • count repeated letters;
  • look for repeated word patterns;
  • write down a guess and what evidence supports it;
  • check whether the guess works in more than one place.

Then compare this with the Caesar cipher from the first note in this series. A Caesar cipher has only a small number of shifts to test. A substitution cipher can have many more possible letter swaps, but patterns in language may still leak useful information.

These are historical puzzle methods, not ways to protect real accounts or private messages. Modern digital security uses carefully designed cryptography, not a homemade letter swap. The publisher describes the young-adult adaptation of The Code Book as a history of codebreaking, from early ciphers to modern cryptography, and lists it for ages 12+ and grade 7+. Publisher’s edition page

Questions to think about

  1. Why is a symbol’s frequency a clue rather than a guaranteed answer?
  2. What other pattern could help you decode a message besides its most common letter?
  3. What is the difference between a puzzle cipher and security you should trust with a real password?

Who might enjoy this book? Readers who like code puzzles, history, math, or the idea that a message can reveal clues even when its letters look scrambled. Later cryptography ideas may take more time than the opening puzzles.

Note for publication: This is an original explainer inspired by the book’s broad subject and publisher description, plus historical cryptology material from the NSA. It is not a summary of a particular chapter or the whole book. The Atbash message is newly written for LabCurio. Before calling it a close reading, have the young reader read the corresponding section and add a detail or question from that reading.

Sources

More from this series

This is Part 02 of The Code Book: The Secrets Behind Codebreaking by Simon Singh: Series 09.

← Back to book series