Secret Codes With a Cipher Wheel
About this lesson, for parents and teachers
Spies, kings and best friends have all sent secret messages. With one spinning wheel and a secret number, you can too!
Ages 6–8 · about 7 minutes · builds on Algorithms Are Recipes · leads to Hashing: How Passwords Stay Secret
Try this
- Drag the coloured inner wheel, or tap the arrows, until the middle says key 3. Watch the secret message turn into a word.
- Next, the key is hidden. Try key after key until the message becomes a real word.
- Last, write a secret yourself: find each letter on the outer ring and tap the letter right under it.
- Stuck? Press Hint.
How it works
This wheel makes a Caesar cipher, one of the oldest secret codes. Julius Caesar used it more than 2,000 years ago. The outer ring is the normal alphabet. The inner ring is the code alphabet. Turning the inner ring by the key number slides every letter that many places. Both the sender and the reader must know the key, and everyone else must not. That is what keeps the message secret.
With key 3, A becomes D, B becomes E and C becomes F. To make a code, you find your letter on the outside and write the letter under it. That is called encrypting. To read a code, you go the other way: find the code letter on the inside and read the letter above it. That is decrypting.
When the alphabet runs out, it wraps around. With key 3, X becomes A, Y becomes B and Z becomes C. That is why the letters sit in a circle. Going backwards wraps around too: with key 3, the code letter A turns back into X. The circle makes this easy to see.
There are only 26 ways to turn the wheel, so a code breaker can just try every key until a real word appears. You did exactly that! It is a fun code, but not a safe one. Today computers use much bigger secret keys, so trying every one would take longer than the age of the universe.
Where engineers use this
Every time a phone sends a message or a website shows a padlock, it uses encryption, a much stronger great-great-grandchild of the Caesar cipher.
Words to know
- Cipher
- A secret way of changing letters so only some people can read a message.
- Key
- The secret number that tells you how far to turn the wheel.
- Encrypt
- To turn a normal message into secret code.
- Decrypt
- To turn secret code back into a normal message.
Talk about it
Goal: Spin a cipher wheel to send and crack secret messages.
- Why do you think the letters go in a circle instead of a line?
- If someone does not know the key, how could they still break the code?
- What kinds of messages should be kept secret on the internet?
Without a screen: Cut two paper circles, one smaller than the other, write the alphabet around each and pin them together with a split pin. Agree on a key with your child and leave secret notes for each other around the house, like a treasure hunt.
Curriculum links: CSTA K-12 1A-NI-04 (explain what passwords are and why we use them); CSTA K-12 1A-AP-08 (follow algorithms); CS Unplugged cryptography
Questions
What is a Caesar cipher for kids?
It is a secret code where every letter is moved the same number of places along the alphabet. With a shift of 3, CAT becomes FDW. The number of places is the key.
How do you make a cipher wheel?
Draw two circles, one smaller, and write the 26 letters evenly around each. Pin them through the middle so the inner one turns. Line up A with the key letter and read across.
Is the Caesar cipher safe to use?
No. There are only 25 useful keys, so anyone can try them all in a few minutes. It is perfect for learning how codes work and for fun notes, but real secrets use modern encryption.