Double Trouble Locking Down Your Cipher

### 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.