Academics · Middle School · Grades 6–8
Five ciphers from two thousand years of secret writing, with the wheel, the alphabets and the zigzag in plain view. Write your own messages, then turn codebreaker for ten missions.
Pick a cipher, set its key and type. Load the example to see Caesar’s shift of three, or open Missions and start with number 1.
Loading the cipher lab. If nothing appears, turn on JavaScript.
Bars are this message. Ticks are typical English.
All 25 decodings, best fit to English first. Tap one to open it on the bench.
Under each secret letter, type the plain letter you think it stands for. Start with the most common letter and the one-letter words.
Each cipher on the bench was the best of its day until someone found the pattern it left behind.
Julius Caesar wrote private letters with every letter moved three places along. Only 25 shifts exist, so trying them all breaks it.
A scholar in Baghdad writes down frequency analysis: the most common symbol probably stands for the most common letter. Every simple substitution falls.
Bellaso’s keyword cipher, later named after Vigenère, hides the letter counts. It holds until Kasiski publishes a way to find the length of the key.
The AES cipher that guards web pages and phones can use a 256-bit key. Its design leaves no letter counts to study, and no practical shortcut is known.
Academics · Middle SchoolFree
What gets enciphered, how the Codebreaker ranks its guesses, and what the missions are for.
The missions take about 40 minutes and need no account. Missions 1 to 6 practise each cipher; 7 to 10 are about attacking them. Mission 10 is long on purpose: frequency analysis needs a few hundred letters.
Away from the screen, print a message card. The two strips at the bottom make a paper slide that works for Caesar and, one letter at a time, for Vigenère.
These ciphers are for learning how secrecy works and fails. None of them protects a real secret: use them for notes and puzzles, not for passwords or private information.
| No. | Mission | Cipher | Key | What it shows |
|---|---|---|---|---|
| 1 | Caesar’s own shift | Caesar wheel | Given | Caesar’s cipher is two thousand years old. Its weakness: once you know the method, there are only 25 keys. |
| 2 | The mirror alphabet | Atbash | None needed | A cipher with no key is only secret while the method is secret. |
| 3 | No key given | Caesar wheel | Find it | Trying every key is called a brute-force attack. It works whenever the list of keys is short. |
| 4 | A keyword alphabet | Keyword alphabet | Given | A mixed alphabet has about 403 septillion possible keys, far too many to try. It still breaks, as mission 10 shows. |
| 5 | Zigzag | Rail fence | Given | A transposition cipher keeps the letter counts of plain English. That clue tells a codebreaker which kind of cipher it is. |
| 6 | One letter, five disguises | Vigenère | Given | Because one letter can become several, simple letter counting stops working. For about three hundred years people called this cipher unbreakable. |
| 7 | Too short to count | Caesar wheel | Find it | Counting needs enough letters. With a short message full of rare letters, a person reading for sense beats the statistics. |
| 8 | How many rails | Rail fence | Find it | When the list of keys is short, try them all. Four rails was the only count that made words. |
| 9 | A guessable key | Vigenère | Find it | This is a dictionary attack: trying likely keys first. It is why a password should never be a word someone can guess. |
| 10 | Break it by counting | Keyword alphabet | Find it | You did what Al-Kindi described around the year 850: frequency analysis. Modern ciphers are built so that letter counts reveal nothing. |
A teaching lab for classical ciphers. They are easy to break and must not be used to protect passwords or private information. The mission messages are original to Caveat. Support: team@caveatacademic.com.