STATION 25 / FIELD MANUAL

← Back to crypto library

Columnar transposition

Transposition

Columnar transposition changes letter order without replacing any letters. A keyword labels the columns, and alphabetically sorting that keyword determines which columns are transmitted first.

How to recognise it

Ordinary letter counts survive exactly, though words disappear. A supplied keyword and rectangular layout are useful clues. Normal-looking frequencies alone cannot distinguish this from other transpositions.

Worked example: encrypt GARDEN with key CAB

Write left to right across rows. Use no padding:

Key       C A B
Read rank 3 1 2
          G A R
          D E N
  1. Sort the key letters as A, B, C.
  2. Read the A-column downwards: AE.
  3. Read the B-column: RN. Read the C-column: GD.
  4. Join the chunks: AERNGD.

Work backwards: decrypt AERNGD

  1. Six letters across three columns means two per column.
  2. Split in sorted key order: A gets AE, B gets RN, C gets GD.
  3. Restore the original CAB column positions and read across rows: GARDEN.

An incomplete final row

For GARDENS, the rows are GAR / DEN / S··. The first original column C has three letters (GDS); A and B have two each. The transmission is AE / RN / GDS → AERNGDS. When decrypting, assign those original column lengths before splitting the stream in sorted order.

Conventions and common mistakes

Repeated key letters are ordered left to right here. Some versions pad every row; others do not. Never divide into equal chunks automatically if there is no padding and the length is not divisible by the key length.

  • Scytale — The simpler fixed-column reading order.
  • ADFGX — A cipher that applies columnar transposition to coordinates.

Useful desk reference

Transposition worksheets — Mark routes and column lengths before filling letters.

Support this project

Enjoying Advent of Cypher? If you'd like to support the project and help keep it running, you can make a small donation. Completely optional, always appreciated.