cover

The Key Game

How do secret codes and ciphers hide a message?
Imagine you write a note that says ~~MEET AT NOON~~. You don't want anyone but your friend to read it. So you scramble i

Imagine you write a note that says MEET AT NOON. You don't want anyone but your friend to read it. So you scramble it into nonsense โ€” QHHW DW QRRQ โ€” and only your friend knows how to un-scramble it back. That little trick, repeated and refined for thousands of years, is the whole art of secret codes.

The simplest cipher just shifts the alphabet. Slide every letter forward by three: A becomes D, B becomes E, and so on.

The simplest cipher just shifts the alphabet. Slide every letter forward by three: A becomes D, B becomes E, and so on. So "CAT" turns into "FDW." Julius Caesar used a trick like this, which is why people still call it the Caesar shift. The number you shift by is your secret โ€” that's called the key.

~~Here's the beautiful part:~~ anyone who knows the key can run the trick backwards. Your friend **slides every letter b

Here's the beautiful part: anyone who knows the key can run the trick backwards. Your friend slides every letter back by three, and the nonsense melts into words again. The message and the method aren't the secret. The KEY is the secret. Guard the key, and the whole code stays locked.

But a simple shift has a weakness, and it's sneaky. In English, the letter *E shows up more than any other*. So if your

But a simple shift has a weakness, and it's sneaky. In English, the letter E shows up more than any other. So if your scrambled message is full of one letter, a clever code-breaker guesses, "That's probably E," and starts pulling the whole thing apart. Counting how often each letter appears is one of the oldest ways to crack a code.

So code-makers got craftier. Instead of shifting every letter by the same amount, they shifted each letter by a ~~DIFFER

So code-makers got craftier. Instead of shifting every letter by the same amount, they shifted each letter by a DIFFERENT amount, following a secret keyword. Now the same letter might get scrambled three different ways in one message. Suddenly counting letters tells you almost nothing. The pattern that gave the code away has been smudged out.

There's another way to hide a message: ~~don't scramble it โ€” HIDE it~~. This is called ++steganography++, a fancy word f

There's another way to hide a message: don't scramble it โ€” HIDE it. This is called steganography, a fancy word for "tucked out of sight." You might write in invisible ink, or hide a message in the first letter of every line, or bury it inside the tiny dots of a picture. The message looks like something ordinary. Nobody even knows a secret is there.

Today, computers do all of this โ€” but ~~much, much faster and trickier~~. When you visit a website with a **tiny padlock

Today, computers do all of this โ€” but much, much faster and trickier. When you visit a website with a tiny padlock in the corner, your computer and that website are swapping scrambled messages. The keys are enormous numbers, far too big for anyone to guess, even with a machine trying billions of times a second.

~~And here's the clever twist~~ modern codes use. There's a kind of math that's **easy to do one way but ferociously har

And here's the clever twist modern codes use. There's a kind of math that's easy to do one way but ferociously hard to undo โ€” like mixing two paint colors together. Stirring them is instant. But un-mixing them back into the originals? Almost impossible. Secret keys are built from puzzles exactly like that.

So that's **the whole secret about secrets**. Every code is ~~just a clever pact~~ between two friends: _a way to scramb

So that's the whole secret about secrets. Every code is just a clever pact between two friends: a way to scramble, and a matching way to un-scramble โ€” guarded by a key only they share. From Caesar's sliding alphabet to the padlock on your screen, it's all the same old game, dressed in newer, harder clothes.

~~And the very first note?~~ It still says ++MEET AT NOON++. It was *never the words that were hidden*. It was _only eve

And the very first note? It still says MEET AT NOON. It was never the words that were hidden. It was only ever the way of reading them. Now go on โ€” pick a key, and write something nobody else can read.

How was this book?

A Wonderleaf Book

The Key Game

โ€” How do secret codes and ciphers hide a message? โ€”

Wonderleaf Editions
โ€” ex libris โ€”
A Wonderleaf Book

The Key Game

How do secret codes and ciphers hide a message?

Wonderleaf Editions ยท MMXXVI
Scene 1
Imagine you write a note that says ~~MEET AT NOON~~. You don't want anyone but your friend to read it. So you scramble i
The Key Game2
Scene 1

Imagine you write a note that says MEET AT NOON. You don't want anyone but your friend to read it. So you scramble it into nonsense โ€” QHHW DW QRRQ โ€” and only your friend knows how to un-scramble it back. That little trick, repeated and refined for thousands of years, is the whole art of secret codes.

3The Key Game
Scene 2
The simplest cipher just shifts the alphabet. Slide every letter forward by three: A becomes D, B becomes E, and so on.
The Key Game4
Scene 2

The simplest cipher just shifts the alphabet. Slide every letter forward by three: A becomes D, B becomes E, and so on. So "CAT" turns into "FDW." Julius Caesar used a trick like this, which is why people still call it the Caesar shift. The number you shift by is your secret โ€” that's called the key.

5The Key Game
Scene 3
~~Here's the beautiful part:~~ anyone who knows the key can run the trick backwards. Your friend **slides every letter b
The Key Game6
Scene 3

Here's the beautiful part: anyone who knows the key can run the trick backwards. Your friend slides every letter back by three, and the nonsense melts into words again. The message and the method aren't the secret. The KEY is the secret. Guard the key, and the whole code stays locked.

7The Key Game
Scene 4
But a simple shift has a weakness, and it's sneaky. In English, the letter *E shows up more than any other*. So if your
The Key Game8
Scene 4

But a simple shift has a weakness, and it's sneaky. In English, the letter E shows up more than any other. So if your scrambled message is full of one letter, a clever code-breaker guesses, "That's probably E," and starts pulling the whole thing apart. Counting how often each letter appears is one of the oldest ways to crack a code.

9The Key Game
Scene 5
So code-makers got craftier. Instead of shifting every letter by the same amount, they shifted each letter by a ~~DIFFER
The Key Game10
Scene 5

So code-makers got craftier. Instead of shifting every letter by the same amount, they shifted each letter by a DIFFERENT amount, following a secret keyword. Now the same letter might get scrambled three different ways in one message. Suddenly counting letters tells you almost nothing. The pattern that gave the code away has been smudged out.

11The Key Game
Scene 6
There's another way to hide a message: ~~don't scramble it โ€” HIDE it~~. This is called ++steganography++, a fancy word f
The Key Game12
Scene 6

There's another way to hide a message: don't scramble it โ€” HIDE it. This is called steganography, a fancy word for "tucked out of sight." You might write in invisible ink, or hide a message in the first letter of every line, or bury it inside the tiny dots of a picture. The message looks like something ordinary. Nobody even knows a secret is there.

13The Key Game
Scene 7
Today, computers do all of this โ€” but ~~much, much faster and trickier~~. When you visit a website with a **tiny padlock
The Key Game14
Scene 7

Today, computers do all of this โ€” but much, much faster and trickier. When you visit a website with a tiny padlock in the corner, your computer and that website are swapping scrambled messages. The keys are enormous numbers, far too big for anyone to guess, even with a machine trying billions of times a second.

15The Key Game
Scene 8
~~And here's the clever twist~~ modern codes use. There's a kind of math that's **easy to do one way but ferociously har
The Key Game16
Scene 8

And here's the clever twist modern codes use. There's a kind of math that's easy to do one way but ferociously hard to undo โ€” like mixing two paint colors together. Stirring them is instant. But un-mixing them back into the originals? Almost impossible. Secret keys are built from puzzles exactly like that.

17The Key Game
Scene 9
So that's **the whole secret about secrets**. Every code is ~~just a clever pact~~ between two friends: _a way to scramb
The Key Game18
Scene 9

So that's the whole secret about secrets. Every code is just a clever pact between two friends: a way to scramble, and a matching way to un-scramble โ€” guarded by a key only they share. From Caesar's sliding alphabet to the padlock on your screen, it's all the same old game, dressed in newer, harder clothes.

19The Key Game
Scene 10
~~And the very first note?~~ It still says ++MEET AT NOON++. It was *never the words that were hidden*. It was _only eve
The Key Game20
Scene 10

And the very first note? It still says MEET AT NOON. It was never the words that were hidden. It was only ever the way of reading them. Now go on โ€” pick a key, and write something nobody else can read.

21The Key Game

~ finis ~

Tiny picture books for big little questions.

โ€” a small constellation of questions โ€”
โœฆWonderleaf
Editions