← Top Secret
Chapter 4

Make Your Own

Now it is your turn. This chapter hands you the tools to build codes your friends will actually use — a secret alphabet from a keyword, messages you can flash across a dark room, and the unwritten rules every good spy follows. Grab a notebook. Tell no one.

This chapter teaches keyword substitution.

### Build a Secret Alphabet With One Word

Make Your Own · Substitution

Scrambling all twenty-six letters of the alphabet makes a tough code, but memorizing a random jumble is a nightmare. Instead, clever spies use a keyword substitution cipher. All you and your partner need to remember is a single secret word—like SHADOW.

To build your cipher, write down the letters of your keyword, crossing out any duplicate letters so none repeat. Right after your keyword, write the rest of the alphabet in normal order, skipping the letters you already used. Check out the demo strip to see how SHADOW scrambles the alphabet.

Line your new scrambled row up underneath a normal alphabet. To encrypt a note, find each real letter in the top row and write down the secret letter directly below it. Every letter maps to a new disguise.

Just don't write a novel in it! Over 1,100 years ago in ninth-century Baghdad, the brilliant scholar Al-Kindi realized that every language leaves a mathematical footprint. In English, E is the most common letter—so if a codebreaker counts which secret letter appears most in your note, they can start cracking your code.

The SHADOW Alphabet
Secret alphabet
plainABCDEFGHIJKLM
secretSHADOWBCEFGIJ
plainNOPQRSTUVWXYZ
secretKLMNPQRTUVXYZ
message
SPY HEADQUARTERS
secret
QMY COSDNTSPROPQ
Write your keyword SHADOW first, then the leftover letters in order. That scrambled row is your secret alphabet.
Three excited kids build spy gear at a cluttered bedroom desk turned secret headquarters: one assembles a two-ring paper decoder wheel, one shines a flashlight to reveal hidden invisible-ink marks, and one taps out dots and dashes on a homemade buzzer; a blanket-fort wall, a little pennant, and warm cyan gadget-glow surround them, all three beaming.

Secret HQ: build your own codes and gear.

### Flashlight Talk in the Dark

Make Your Own · Morse

Samuel Morse gets his name on the code, but hisoriginal 1832 plan was a clunky mess of numbers that required a giant dictionary to read. In 1838, at the Speedwell Ironworks in New Jersey, his partner Alfred Vail fixed it. Vail invented the slick dot-and-dash alphabet we still use today.

You do not need an old-timey telegraph to use Vail's system. Two friends with flashlights can talk silently across a dark room or a campsite. Every letter is a pattern of short signals (dots) and long signals (dashes). Give your flashlight a quick blink for a dot, and hold the beam for a long blink to make a dash.

Timing is your secret weapon. If you mash all your blinks together, your friend will just see a frantic light show. Leave a short pause in the dark between each letter, and a longer pause between whole words so your partner knows where one ends and the next begins.

Start by practicing the universal call for help: SOS. It was chosen because it is impossible to forget—just blink three short dots, three long dashes, and three short dots. Once you nail that rhythm, you can tap the same patterns on a shared school desk or knock them through a bedroom wall.

Flash It in Morse
Morse code
A●▬B▬●●●C▬●▬●D▬●●E●F●●▬●G▬▬●H●●●●I●●J●▬▬▬K▬●▬L●▬●●M▬▬N▬●O▬▬▬P●▬▬●Q▬▬●▬R●▬●S●●●T▬U●●▬V●●●▬W●▬▬X▬●●▬Y▬●▬▬Z▬▬●●0▬▬▬▬▬1●▬▬▬▬2●●▬▬▬3●●●▬▬4●●●●▬5●●●●●6▬●●●●7▬▬●●●8▬▬▬●●9▬▬▬▬●
message
BLINK TO ME
secret
▬●●● ●▬●● ●● ▬● ▬●▬ / ▬ ▬▬▬ / ▬▬ ●
A short blink is a dot, a long blink is a dash. Now you can talk across a dark room.

### Double Trouble Locking Down Your Cipher

Make Your Own · Layer It

Once you build a keyword cipher, you face an ancient enemy: Al-Kindi's letter counting. A clever snoop can still tally up your letters and spot the "E"s. To fight back, swap your keywords often—or level up to a spy technique called superencipherment.

Superencipherment is a ten-dollar word for a simple trick: putting a lock on top of another lock. First, scramble your message using your keyword alphabet. Then, take that scrambled gibberish and encrypt it a second time using a Caesar shift, sliding every letter a few spaces down the alphabet.

Just don't use the exact same cipher twice in a row—mathematically, that doesn't add security and can even accidentally unscramble your secret! You need two different rules so a codebreaker has to beat two puzzles at once.

German military radiomen did this in World War I with their famous ADFGVX cipher, and you can do it at your kitchen table. A determined expert with enough time can still crack simple layered ciphers, so they aren't magic. But layering buys you time—and in spycraft, time is everything.

The MIDNIGHT Alphabet
Secret alphabet
plainABCDEFGHIJKLM
secretMIDNGHTABCEFJ
plainNOPQRSTUVWXYZ
secretKLOPQRSUVWXYZ
message
DOUBLE THE SECRET
secret
NLUIFG SAG RGDQGS
A second keyword, MIDNIGHT, makes a brand-new secret alphabet. Swap keys often to stay ahead of crackers.

### The Unwritten Rules of Spycraft

Make Your Own · Spycraft

The toughest cipher in the world is useless if somebody catches you handing a folded note across the classroom. Before you send a single secret message, you need real spycraft. First rule: meet your partner in private to agree on your cipher key in advance. Second rule: keep your messages short so codebreakers have less to study, and never, ever write your key on the same paper as your message!

Movie spies swap briefcases on moving trains, but real agents try never to be seen in the same room. Instead, they use a dead drop—a secret hiding spot like a hollow tree or a loose brick. George Washington’s Culper Spy Ring used dead drops in 1778 during the American Revolutionary War, and Cold War spies turned them into a high art.

To use one, hide your note in the agreed-upon spot when nobody is looking. Then leave a signpost—a normal-looking signal somewhere else—to tell your friend a message is waiting. In 1778, Culper spy Anna Strong signaled fellow agents by hanging a black petticoat and specific numbers of handkerchiefs on her clothesline in New York. Your signpost can be a piece of tape on your locker or a certain book on your desk.

Finally, follow the ultimate rule of kid spycraft: be kind. Real agents use secrets to protect countries, not to be mean. Use your codes to share jokes, play games, and solve mysteries—never to leave classmates out.

A Quick Caesar Recap
Shift +7
plainABCDEFGHIJKLM
secretHIJKLMNOPQRST
plainNOPQRSTUVWXYZ
secretUVWXYZABCDEFG
message
TRUST YOUR TEAM
secret
AYBZA FVBY ALHT
Even a simple seven-step Caesar shift keeps a note secret from anyone who does not know the number.

### The Secret World Around You

Make Your Own · Your Turn

Every time you type a video game password, send a text message, or watch your parents buy something online, you are using secret codes. The ciphers in this book are the direct ancestors of the digital locks that protect our messages and money today.

Modern computer security is really just the ideas of Al-Kindi, Alfred Vail, and the Culper Spy Ring sped up by silicon chips. A password is simply a secret key. When you hide a cipher keyword under your mattress, you are practicing key management—the exact same puzzle multi-billion-dollar tech companies face every day.

Even with supercomputers, human ingenuity has not solved everything. Locked inside Yale University is the Voynich Manuscript, a 200-page book carbon-dated to between 1404 and 1438. Written in an unknown script beside bizarre drawings of Imaginary plants, it has defeated every codebreaker and artificial intelligence on Earth.

Now it is your turn. Every time you log in, a code far tougher than Caesar's is working for you. Go build your own ciphers, keep practicing, and tell no one.