Exhibit 24 of 172 Union · 1861

Stager Cipher

Union telegraph routes, codewords and changing wartime keys

Historical Union route-code system; wartime operational success is not a mathematical security guarantee.

InventorAnson Stager · US Military Telegraph Corps
Year1861
Key TypeRoute transposition + code words
Broken ByWartime success reported; not a mathematical guarantee
Modern LessonRoute transposition as message obfuscation

Why This Matters

Stager’s route-code systems protected important Union military telegraph traffic. They combined whole-word transposition with codeword substitutions and nulls. Accounts of their operational success do not establish that every sensitive Union message used them or that no intercepted message was ever understood.

Historical Context

Stager developed a military route system in 1861 after earlier work for Ohio’s governor. McClellan’s use helped spread it. Keeping ciphertext in ordinary words reduced telegraphic copying errors; codewords could conceal important names and terms even after a route was recovered.

The procedures changed during the war. Kahn describes a series of twelve systems and reports that Cipher No. 4 used twelve pages of routes and thirty-six pages listing 1,608 codewords. One dated example in his account is Lincoln’s 1 June 1863 dispatch under Cipher No. 9. The diagram below is a separate teaching illustration.

How It Works
Illustrative entries, not an authenticated key:
Step 1: Code word substitution
        RAPTURE = Louisville, KY
        CAMDEN = Maj-Gen Thomas
        ALVORD = General Buell

Step 2: Write message in N columns
        (N determined by commencement word)

Step 3: Read columns by prearranged route
        'up 1, down 6, up 2, down 3, up 5, down 4'

Step 4: Insert null words at column ends
        to disguise column boundaries

Illustrative route grid, not a transcription of a dated dispatch: The route and column count were specified by the first 'commencement word' of the message.

ROUTE TRANSPOSITION GRID Col1Col2Col3Col4Col5Col6 SEND MORE AMMO FROM NASH VILL TO GENL BUELL Route: ↑col1 ↓col6 ↑col2 ↓col3 ↑col5 ↓col4 Read: TO SEND | VILL | GENL MORE | AMMO BUELL | NASH | FROM + Code words substituted: RAPTURE=Louisville, CAMDEN=Thomas + Null words inserted at column boundaries Teaching grid: route and vocabulary are separate layers
Illustrative word fragments read by a selected route; historical Union traffic transposed whole words and used changing code vocabularies.
ℹ️

About this demo: The interactive transposes individual Latin letters, removes spaces and punctuation, and reads successive columns alternately down and up. It does not implement the historical word-code vocabulary, route indicators or null-word instructions. Its reversible X/Q/Z escape and trailing X padding are additional teaching conventions. The historical description and the word-fragment diagram therefore describe different levels of the subject.

How It Was Broken
✅

Operational history is not a proof of security. Kahn describes the Union systems’ wartime success. An absence of a documented Confederate solution does not establish impossibility. A captured vocabulary or route could expose affected messages without an abstract cryptanalytic breakthrough.

Post-War Cryptanalysis
Historical reconstruction from messages and records

Published operator memoirs, surviving codebooks and telegrams support later reconstruction. Evidence must be tied to a particular key and dispatch. The letter-route widget shows reversible transposition; successfully solving it says little about the effort required for a historical word-code message.

What It Teaches Modern Cryptography
Concept from Stager CipherModern Evolution
Route transposition by wordTransposition layers in modern block ciphers
Code book substitutionShared vocabulary is secret key material; it is not public-key infrastructure
Commencement word as key indicatorA key or route selector; not the same function as a modern IV
Quick Facts
Exhibit24 of 172
EraUnion · 1861
TrustHistorical Only
InventorAnson Stager · US Military Telegraph Corps
Year1861
Key TypeRoute transposition + code words
Broken ByWartime success reported; not a mathematical guarantee

Sources and Reading

David Kahn, The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet, revised edition (1996), Chapter 7, “Crises of the Union,” describing route systems, codebook growth and Lincoln’s 1 June 1863 telegram. The browser model is not a transcription of that telegram.

← Previous Confederate Dictionary Code