Exhibit 15 of 172 WWI · Germany

Double Transposition

Two columnar transpositions compose two position permutations

Anagramming · Hill climbing (difficult)

InventorNo single inventor established here
YearDocumented military use in the First World War
Key TypeTwo columnar keywords
Broken ByAnagramming · Hill climbing (difficult)
Modern LessonMultiple cipher rounds

Why This Matters

Double transposition can make reconstruction substantially harder than one pass. Its security still depends on message length, column widths, key selection, padding and available related traffic. A count of key pairs is not a measured security level.

Historical Context

German forces used double transposition during the First World War, and related systems appeared in later military and agent communications. This operational history does not establish the German military as the original inventor. Applying two transpositions creates another permutation of the same letters; their frequencies remain unchanged.

Computer attacks can exploit language scores and structural constraints. Short ciphertexts or unknown dimensions may make a particular attack difficult or ambiguous, while other instances are recoverable. Comparisons should state the keys, text length, search budget and success criterion.

How It Works

Apply columnar transposition twice using two different keywords:

Step 1: Apply columnar transposition with key MARK
Step 2: Apply columnar transposition with key LION

There are k1! × k2! pairs of column-order settings
when each key can be any permutation of its columns.
Different pairs may induce the same permutation;
this is not a proof of k1! × k2! distinct ciphertexts.
Pass 1: Key MARK MARK 3142 SEND HELP NOW → reorder columns Intermediate EEO DP SHN NLW → Pass 2 Pass 2: Key LION LION 2143 EEOD PSHN NLW Final ciphertext: ESL EPN DN OHW
Double transposition: two successive column reorderings with different keys — the result depends on both keys and the message layout

A 7-letter key gives 5,040 possible column orders. Two such keys give 25,401,600 ordered key pairs. Structured cryptanalysis need not enumerate them all.

How It Was Broken
Hill Climbing / Simulated Annealing
Complexity: Hard — especially on short ciphertext

Heuristic solvers can search candidate keys using language scores, moves such as swaps, and repeated restarts. Results depend on the implementation and instance. No universal number of iterations or guaranteed recovery time follows from the cipher name alone.

What It Teaches Modern Cryptography
Concept from Double TranspositionModern Evolution
Two-pass permutationAES applies 10–14 rounds of operations — multiple passes through cipher structure
Large combined keyspaceAES 128-bit key: 2¹²⁸ possible keys — exponentially larger
No substitution, only permutationAES combines nonlinear SubBytes, byte-reordering ShiftRows, and linear MixColumns (omitted in the final round)
Quick Facts
Exhibit15 of 172
EraWWI · Germany
TrustBroken
InventorNo single inventor established here
YearDocumented military use in the First World War
Key TypeTwo columnar keywords
Broken ByAnagramming · Hill climbing (difficult)

Sources and Reading

David Kahn, The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet, revised edition (1996), discussion of First World War transposition practice. George Lasry, A Methodology for the Cryptanalysis of Classical Ciphers with Search Metaheuristics (2018), treats attacks as experiments with defined instances and evaluation criteria.

← Previous Trifid Cipher