Book Cipher
Both sides share a text. The message is a list of numbers pointing to words in it.
How it works
A book cipher uses an ordinary text as its key. Number the words from the start. To encode a word of your message, find it in the text and write down its number. The receiver, holding the same text, counts to each number and reads the word.
The second style points to letters, not words. Each number means "the first letter of that word". This lets you spell anything, even words the key text does not contain. The famous Beale papers, which claim to describe buried treasure in Virginia, use this method. The one part that has been solved was keyed to the Declaration of Independence.
The strength of a book cipher depends on keeping the choice of text private and on both sides having exactly the same edition. A different printing, with one word added or dropped, shifts every number after it. Another common scheme writes three numbers for page, line and word, which is easier with a real book.
In first letter mode this tool rotates through the matching words, so the same letter gets a different number each time it appears. That hides the pattern of repeated letters.
Worked example
In the sample text, "the" is word 3 and "age" is word 16, so the age encodes as 3 16.
Common questions
What makes a good key text?
Something long that both people can get in an identical copy, and that an outsider would not think of. A specific edition of a novel works. A famous speech is easy to guess.
Why does my word say it is missing?
Whole word mode can only send words that appear in the key text. Switch to first letter mode to spell it out.