Stager Cipher
Union telegraph routes, codewords and changing wartime keys
Historical Union route-code system; wartime operational success is not a mathematical security guarantee.
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.
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.
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 boundariesIllustrative route grid, not a transcription of a dated dispatch: The route and column count were specified by the first 'commencement word' of the message.
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.
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.
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.
| Concept from Stager Cipher | Modern Evolution |
|---|---|
| Route transposition by word | Transposition layers in modern block ciphers |
| Code book substitution | Shared vocabulary is secret key material; it is not public-key infrastructure |
| Commencement word as key indicator | A key or route selector; not the same function as a modern IV |
| Exhibit | 24 of 172 |
| Era | Union · 1861 |
| Trust | Historical Only |
| Inventor | Anson Stager · US Military Telegraph Corps |
| Year | 1861 |
| Key Type | Route transposition + code words |
| Broken By | Wartime 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.