Skip to the steps
All experimentsWrite messages only your friend can read

Secret Codes

The shift code that Roman generals used, plus a way to crack it. Make a code wheel, write a message, and hand it to someone who has the key.

My favouritesFind another activity

How did it go? / Report an error

Tell us about the activity. Please leave out names and contact details.

Secret Codes

Read the full instructions and gather your supplies before starting.

Step 1 of 6

Write the alphabet in a row. Directly under it, write the alphabet again, but start at D: D E F G ... and when you hit Z, wrap around to A B C. Every letter now has a partner three steps along. That's a key of 3.

Read-aloud is not supported in this browser.

Activity timer

Set the time from your instructions.

Time15 min
You geta code and a decoder
DifficultyMediumBarely a mess
SectionLearning

This one is all yours

Nothing sharp, nothing hot, nowhere far. Tell someone what you're up to, then go ahead and do it on your own.

How to do it

6 steps. Tap one when it's done.

  1. Show the answer

    THE CAT IS ON THE MAT. The letter that appears most is W, so guess W stands for E... that gives a shift of 18, which doesn't work. Try the second most common, H: H as E means a shift of 3, and the whole thing reads clean.

Why that works

A shift code has only 25 possible keys, so a patient person can crack it by trying them all, or faster by guessing that the most common letter is E. Real codes today use keys so big that trying them all would take longer than the universe has existed.