This is an old and basic cipher.
Person A has a copy of a book. The first number is a page, the second number is a line on the page, third number is the word inside that line. (though it can also be just Page & Word, if you want to make it easy)
Person B has an exact copy which he can use to decipher the code.
Big and known books make better sources as you have more words to choose from (thus The Bible is often the source), and no one will react if you're walking around with the a pocket version of "The Da Vinci Code". If you're walking around with an Older Than Radio-edition of a book, however... People will get suspicious (especially the detective who's after you).
Ottendorf Cipher is the one with Page, Word and Letter.
Manga and Anime
- In Naruto, Jiraiya uses a book cipher referring to his own novels to convey information about Pain.
- In the second episode of BBC's "Sherlock", they encounter a number of symbols. This turns out to be numbers written in an ancient Chinese dialect, with the book being a Tour Guide of London (which ends up as part of Fridge Brilliance, as the Chinese Gang use these symbols to arrange meeting points.
- In the Season 2 finale of BBC's "Luther", the numbers in a notebook is revealed to be this. The book they use to decipher is the bible Luther finds at the hotel room of the culprit.
- A book cipher plays an important role in the TV version of Sharpe's Sword. The key text is Voltaire's Candide.
- "The Fisher King", a two-part episode of Criminal Minds, features an Ottendorf cipher brought to the Behavioral Analysis Unit by the UNSUB via Agent Hotchner's wife. The cypher was part of a larger puzzle to find a girl who had been missing for two years. The key text was The Collector by John Fowles.
- Burn Notice uses this, especially in the fourth season, where it becomes part of the season-long plot when Michael Westen steals a Bible from a safe deposit box that is the code book of Simon.
- In The Unit episode "Paradise Lost", Jonas Blane (aka Snake Doctor) uses a book code from the poem Paradise Lost to communicate to his wife, Molly, that he has arrived safely in Panama.
- This is described and used in The Curse of Chalion by Lois Bu Jold
- In "The Valley of Fear", Sherlock Holmes decrypts a message enciphered with a book cipher by deducing which book had been used as a key text.
- The name of Ken Follet's World War II thriller The Key to Rebecca refers to a German spy in Cairo using Daphne du Maurier's novel Rebecca as the basis of a code.
- In A Presumption of Death, Lord Peter Wimsey, on assignment for British Intelligence in WWII Nazi-occupied Europe, uses a code based on the works of John Donne. The Germans, suspecting that an intelligence service in which Oxonians have a major role would choose a classical work of English literature, systematically try such works until hitting the right one and breaking the code, coming near to catching the spy. Wimsey then improvises a new code, based on an unpublished text known only to himself and his wife.
- Another Wimsey example at one remove is in Have His Carcase, using a Playfair Cipher with the keyword (the tenth word on page 583 of the latest edition of a Chambers' Dictionary) disclosed this way.
- Graham Greene's protagonists often use book codes. In The Human Factor, several books are used, and an edition of Charles Lamb's Tales from Shakespeare is used in Our Man in Havana.
- The protagonists of the Matthew Reilly novel The Six Sacred Stones used a book cipher to send confidential messages to each other. The key text was the Harry Potter books, but the messages were sent via a The Lord of the Rings forum to make the key text harder to identify.
- The German spy uses this kind of encryption in The Death of Achilles.
Alternate Reality Game
- In National Treasure, the protagonist discovers various numbers hidden on the back of the Declaration of Independence; these correspond not to a book per se, but to the 'Silence Dogood' letters his father donated to a museum.
- In the film Unknown, Prof. Bressler's passwords are obscured by an Ottendorf cipher.
- In Lost: Mystery of the Island, a series of four jigsaw puzzles released in 2007, Ottendorf cipher was used on each puzzle's box to hide spoilers and reveal information about the show to the fans.
- The infamously unsolved Taman Shud case seems to involve a "one-time pad" cipher using the edition-and-page method with a specific edition of the ''Rubaiyat' of Omar Khayyam. Unfortunately, there's some other element of the key that has never been determined, so the cipher remains unsolved.