Ελληνικά

Secret Codes: Encryption 🔐

Encryption scrambles a message so only someone with the key can read it. Turn a Caesar cipher wheel to send secret messages, crack codes like a spy, and use letter counting to break a code without the key. Ages 9-14.

The Caesar cipher wheel

Julius Caesar sent secret orders by moving every letter a set number of places along the alphabet. The number of places is the key. Turn the wheel to choose a key, then type a message.

Key 3

Secret message (ciphertext)

Code alphabet for this key

Words to know: the normal message is the plaintext. The scrambled message is the ciphertext. The key is the secret that turns one into the other. To decrypt, you move the letters back the other way.

Crack the code 🕵️

Decode each secret message and type what it says. The first ones tell you the key. Later on, you have to find the key yourself! Cracked: 0 ·

Brute force: a Caesar cipher only has 25 useful keys, so a code breaker can simply try them all until the message makes sense. That is why real encryption uses keys with billions and billions of possibilities.

Frequency detective 📊

In English, E is the most common letter. In a long secret message, the most common code letter is probably E in disguise. Find the tallest bar, tap it, and the key will be worked out for you.

How often each letter appears in the secret message

How often letters appear in normal English

Tap the bar you think stands for E.

History: an Arab scholar called Al-Kindi described frequency analysis over 1,100 years ago. Codebreakers have used it ever since, so simple letter-swap codes are not safe for real secrets.

Secret Codes Quiz

10 questions. Score: 0 · Question 1 of 10

Want to know more? Encryption keeps your messages and passwords safe as they travel across the internet. Find out how with How the Internet Works, or see how letters become numbers in Binary: 1s and 0s.

Browse printable worksheet packs in the shop →