Secret code machine
Turn messages into secret code and back again. Then challenge the class to crack one.
Lesson ideas
- Crack the code: press Challenge, give pupils the clue, and race to decode the message.
- No clue: leave the clue off. How could you crack a Caesar cipher without knowing the shift? Then show Try every shift.
- Pass notes: pairs agree a keyword, then send each other coded messages on paper.
- Why it matters: link to how websites keep passwords and bank details safe with encryption.
Words to know
- Encrypt: turn a message into code so only the right people can read it.
- Decrypt: turn the code back into the message.
- Key: the secret you need to decrypt it, like the shift or the keyword.
Questions teachers ask
What is a Caesar cipher?
Every letter moves along the alphabet by the same number of places, the shift. With a shift of 3, A becomes D and B becomes E. To decode, move back by the same number. It is named after Julius Caesar, who is said to have used it.
How do I set a code-cracking challenge?
Press Challenge. A secret message appears in code, using the cipher you have chosen. Pupils decode it on paper or mini whiteboards, then press Reveal. Turn on Show the clue to give the shift or keyword, or leave it off and let them try every shift.
What does Try every shift show?
In Decode mode with the Caesar cipher, it lists the message decoded with all 25 shifts. The one that makes sense is the answer. It shows why a Caesar cipher is easy for a computer to crack, which is a great way into why modern encryption uses huge keys.
Is anything I type sent anywhere?
No. Everything happens in your browser. The settings are remembered on this device, but messages are not saved.