The Ottendorf Cipher is a historical book-based substitution cipher where each character of the plaintext is represented by a triplet indicating the page, line, and word in a pre-agreed source text. The sender and recipient must share the same book (or document) and numbering method. This method hides the message in plain sight by encoding it as seemingly mundane numbers, making it ideal for espionage and covert communication.
Each triplet refers to a specific letter in the chosen word, most commonly the first letter. Security depends entirely on keeping the source text secret; without the exact same book and numbering system, the numeric ciphertext appears meaningless.
Ottendorf Cipher: Encoding
Suppose the plaintext message is "HELLO". A shared reference text is arranged into numbered pages and lines. The first letter of specific words in that text are used to represent each plaintext letter.
Plaintext: H E L L O
Reference Text (Pages separated by blank lines):
Page 1
Line 1: Alpha beta gamma delta
Line 2: Echo foxtrot golf hotel
Page 2
Line 1: India juliet kilo lima
Line 2: Mike november oscar papa
Line 3: Quebec romeo sierra tango
Line 4: Uniform victor whiskey xray lima
Page 3
Line 1: Delta echo foxtrot golf
Page 4
Line 1: Alpha bravo charlie
Line 2: Delta echo foxtrot
Line 3: Lima mike november
Page 5
Line 1: Alpha bravo charlie delta
Line 2: Echo foxtrot oscar papa
Selected Words:
Page 1, Line 2, Word 4 → hotel → H
Page 3, Line 1, Word 2 → echo → E
Page 2, Line 4, Word 5 → lima → L
Page 4, Line 3, Word 1 → lima → L
Page 5, Line 2, Word 3 → oscar → O
Encoding Rule: plaintext letter → page-line-word
Ciphertext:
1-2-4 3-1-2 2-4-5 4-3-1 5-2-3Ottendorf Cipher: Decoding
To decode the message, the recipient consults the same reference text and extracts the specified word for each triplet, taking the first letter of that word.
Ciphertext:
1-2-4 3-1-2 2-4-5 4-3-1 5-2-3
Decoding:
1-2-4 → Page 1, Line 2, Word 4 → hotel → H
3-1-2 → Page 3, Line 1, Word 2 → echo → E
2-4-5 → Page 2, Line 4, Word 5 → lima → L
4-3-1 → Page 4, Line 3, Word 1 → lima → L
5-2-3 → Page 5, Line 2, Word 3 → oscar → O
Plaintext: HELLOOttendorf Cipher: Notes
The triplet format (page-line-word) is the historically accurate structure used by the Ottendorf system and similar book ciphers. Because the ciphertext is simply a sequence of numbers, it can easily pass as mundane data such as ledger entries or coordinates. The real security lies in the secrecy of the shared text; without the correct reference book, the numbers cannot be interpreted.
In practice, spies and diplomats often agreed on widely available books, newspapers, or dictionaries so the key could be plausibly possessed by both parties without raising suspicion. Multiple texts or changing editions could also be used to further complicate interception and analysis.