Kepler, the Kepler's Lab mascot

Cracking Codes and Ciphers

Games & Logic - about 4 minutes - optional quiz at the end

Text size

Reading speed

Lesson extras

A code is a secret language, and people have been inventing them for thousands of years - generals hiding battle plans, friends passing notes, spies protecting countries. The simplest cipher is a shift cipher: slide every letter a few places down the alphabet, and HELLO becomes KHOOR with a shift of 3. Only someone who knows the shift can read it.

Code-breakers fight back with patterns. In English, E is the most common letter, so the most common symbol in a long secret message is probably E. Short words like THE and AND stick out too. Piece by piece, the guesses unlock more of the message, and the whole secret tumbles out. This hunt for patterns is the same skill that solves logic puzzles, learns languages, and powers modern computer security.

You can invent your own cipher today. Swap letters for numbers, draw symbols for each letter, or write messages backward. Trade keys with a friend - the key is the secret instruction that unlocks the message - and pass notes no one else can read. Just remember the first rule of secret clubs: never use codes to hide things from the grown-ups who keep you safe.

Try it yourself

With a shift of 1, what does CAT become?

Why do code-breakers hunt for the letter E?

What is a key in a cipher?

Optional quiz

3 quick questions - totally up to you.