A secret you want only ONE person to read
Imagine you want to pass a note to your best friend in class. But you know a nosy kid sits between you. If they read the note, your secret is out.
Cryptography is the art of writing notes that only the right person can read. Everyone else sees gibberish.
Plaintext — the real message. Ciphertext — the scrambled version. Cipher — the trick you used to scramble it. Key — the tiny piece of information your friend needs to un-scramble it.
A 3,000-year-old idea
People have been hiding messages for a long time:
- Ancient Spartans (~500 BC) wrapped a strip of leather around a wooden rod called a scytale. They wrote across the strip, unwrapped it, and it looked like gibberish. Only someone with a rod the same thickness could read it.
- Julius Caesar (~50 BC) shifted every letter by 3 to hide battle orders from enemies. You’ll build his cipher in the next lesson.
- World War II had a whole building of mathematicians at Bletchley Park in England cracking the German “Enigma” machine. Breaking that cipher helped end the war years earlier.
- Today your phone uses cryptography every single second. When you type a password, order food, or open WhatsApp — cryptography is the invisible thing keeping it safe.
Two jobs of a cipher
A good cipher needs to do two things:
- Easy for your friend. They know the key, so un-scrambling should be quick.
- Hard for an enemy. Someone who intercepts the message should get stuck.
If a cipher fails #1, your friend can’t read it either. If it fails #2, it’s not really a secret.
Spot the cipher
Here’s a simple message that’s been scrambled. You can probably feel that something is going on, even without knowing the key.
Plaintext:
MEET AT THE PARKCiphertext:
PHHW DW WKH SDUN
Can you see a pattern? Every letter has moved the same amount. That’s the Caesar cipher, and it’s what we’ll crack next.
Why kids should learn this
This isn’t just fun. Every time you:
- log into a game,
- send a message to a friend,
- type a password anywhere,
…your computer is using cryptography so that nobody — nobody — can read it except the right person. Understanding how it works makes you the kind of person who sees how the world really runs.
Quick check
Which word means 'the scrambled version of a message'?
Ciphertext is the scrambled output. Plaintext is the original, the cipher is the method, and the key is the secret that unlocks it.
A cipher is only useful if...
A cipher has two jobs: easy for your friend (who has the key), hard for anyone else.
Which of these is NOT used in real cryptography today?
Everything that travels over the internet uses cryptography. Reading a paper book doesn't!