The count follows the letter
In Lesson 2.2, transposition moved letters around, so each letter kept its count. A fixed substitution changes the letters in place. Each plaintext letter gets its own ciphertext letter, and that pairing stays the same for the whole message. The Caesar shift is one way to choose the pairings.
In the puzzle, choosing a guess for X fills every place where X appears. Each replacement letter occurs exactly as many times as the original letter did. A codebreaker who can see only the ciphertext, as in Lesson 1.4, can use that repetition as a clue.
Show the solution and compare the counts
MEET ME AT THE TREE
The six Es became six Xs. The four Ts became four Js. Reading down the table shows how each count moved to the replacement letter.
| Plaintext | Ciphertext | Count in each |
|---|---|---|
| E | X | 6 |
| T | J | 4 |
| M | Q | 2 |
| R | L | 1 |
| A | P | 1 |
| H | Y | 1 |
A count gives you a guess
E often turns up more than other letters in English, so the highest count is a sensible place to start. A short message can favor a different letter just because of the words it uses. In GO NORTH, O is the most common letter and there are no Es.
Use another clue to test the guess. In this practice cipher, the last word has the same letter in its last two positions. Knowing the word is TREE gives you three pairings at once. The National Cryptologic Museum teaches this approach in Cryptanalysis 101.
Check your understanding
In a new short ciphertext, Z appears more often than any other letter. Why can’t the count alone tell you whether Z stands for E? What else would you look for?
Show the answer
E is common in English, so it’s worth trying. The words in a short message can make another letter more frequent. Test whether the guess fits a repeated-letter pattern or a word you expect to see.