TranspositionDifficulty: Hard
Columnar transposition
Write the message in rows under a keyword and read it off by columns in the alphabetical order of the key letters.
Try it
27 characters
Result · Columnar transposition
EATB CSOL EEFC RSRU TGH SMEE
How it works
- 1Pick a keyword, for example ZEBRAS. Each letter of the key is one column.
- 2Write the message without spaces in rows under the key. The last row may stay incomplete, or you can pad it with X.
- 3Number the key letters alphabetically (A = 1, B = 2…). Repeated letters are numbered left to right.
- 4Read the columns from top to bottom in the order of these numbers. The joined text is the ciphertext.
- 5To decode, work out the column lengths from the ciphertext length, put the columns back in place and read row by row.
Example
Meet at the bridge
AR EEE EHG TB TI MTD
Did you know
Columnar transposition is a classic cipher used by armies in World War I. The German military used double columnar transposition (the text is rearranged twice). The famous ADFGVX cipher of 1918 also relied on it as its second step, after first replacing letters by pairs. French cryptanalyst Georges Painvin broke ADFGVX in the summer of 1918.
Try to decode
This message is encrypted with Columnar transposition using the default settings:
ART EEEN EHGO TBA TIN MTDO
Hint
The key is ZEBRAS and the last row was left incomplete (no X).
Show solution
MEET AT THE BRIDGE AT NOON
More ciphers in this category
- Reverse textThe simplest transposition: the letters stay, you just read them backwards - the whole text, word by word, or as a pyramid.
- Rail fence cipherWrite the message in a zigzag across several fence rails, then read it off rail by rail. Tidy text turns into apparent chaos.
- Skip cipher (every N-th letter)Letters are stored at every N-th position, and after reaching the end you start again from the second slot. A scrambled text that hides your message.
- Grid cipherWrite the text into a square grid along diagonals, a spiral or a zigzag, then read it row by row. The letters only change places.