Skip to content

Scrambled Columns

You'll write and break the other family of ciphers, the ones that keep every letter and only move it: a rail fence and a keyed columnar transposition.

About

The ciphers in the other Common badges swap letters. A transposition keeps the letters and shuffles their positions, which is why a frequency count of transposed text looks exactly like English and tells you nothing about the order. The rail fence zigzags a message over two or three lines, and the columnar transposition writes it into a grid and reads the columns out in keyword order. Columnar transposition was still in field use in the Second World War, usually doubled, and it is the half of the German ADFGVX cipher that kept the French busy for weeks in 1918. Here you use both and break the easy one.

At a glance

Per requirement
15 XP
Completion bonus
75 XP
Requirements
5
Takes
One evening
Skill level
Beginner (done it a few times)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
With other people

Requirements

  1. 1
    Encipher a message of 40 or more letters on a three-rail fence and have a friend read it back. Write the letters zigzagging down and up across three lines, then read each line left to right and join them. Tell your friend the number of rails. Take a photo of the zigzag and the ciphertext, or film your friend reading it back. Photo or video
  2. 2
    Write out a keyed columnar transposition of at least 60 letters. Write a keyword with no repeated letters (say GARDEN) across the top of a grid, fill the message in rows underneath, pad the last row with X or Q, and read the columns out in alphabetical order of the keyword letters (A first, then D, E, G, N, R). Send it in five-letter groups. Take a photo of the grid with the column order numbered. Photo
  3. 3
    Decipher a columnar message from your friend under a keyword they chose. You need the keyword and the message length to draw the grid the right shape: divide the length by the keyword length to get the number of rows. Fill the columns in alphabetical order of the keyword, then read the rows. Take a photo of the reconstructed grid. Photo
  4. 4
    Break a rail fence message with no rail count given. Try two rails, then three, then four, drawing the zigzag for each until one reads. Count the letters first, because the length of each rail follows from the total. Take a photo of your attempts with the one that worked marked. Photo
  5. 5
    Write a quick test for telling a transposition from a substitution before you start solving. Count the ciphertext: if E, T, A and O are still the most common letters, nothing was swapped and the letters were moved instead. Write this test on your crib card from Ten Cryptograms, or on a fresh card, and take a photo. Photo