Book cipher

Loading…

All tools β€Ί Keys from outside the message

Book cipher

Write a message as numbers pointing into a text both sides already have, and read it back.

It runs entirely in this browser tab: the text you paste is never uploaded, and the tool makes no network request while it works. Open your browser's network panel and try it β€” nothing leaves the page. There is no sign-up and no limit beyond what your own browser can hold.

Settings

What to do
Choices: Encipher, Decipher.
The book
Any text at all, as long as the other side has exactly the same one β€” including the line breaks.
Point at
Whole words are short to write and limited to what the book says; letters can say anything and cost three times as many numbers. Choices: Whole words, Letters.
Reference shape
How each number is written. Line and word survive a reflow; a single running count does not. Choices: 12, 3.12, 3.12.1.
Between the numbers
Choices: Space, Dash, Comma, Slash, New line, Nothing.
Seed
Zero gives a different result every time; any other number repeats this one exactly. A number from 0 to 1000000.

How to use it

  1. Paste your text into the box above, or open a file.
  2. Adjust the settings beside it until the result is what you wanted.
  3. Copy the result, or save it as a file. The result updates as you type.

Questions

Is my text uploaded anywhere?
No. This page carries the whole tool as WebAssembly and runs it on your own device. Nothing you paste is sent anywhere.
Is this secure?
No. Every cipher on this site is a puzzle cipher, and the tool says so on each result. They are for escape rooms, cryptograms, coursework and historical curiosity.
Can I get this result again later?
The settings travel in the page's address, after the #, so a link reproduces them exactly β€” key included β€” and the fragment of an address is never sent to a server. Your last settings are also remembered on this device, which is worth knowing before you type a key you care about.
Is there a version that is not a web page?
Yes. The same ciphers are built as a desktop application from the same code, with a save dialog instead of a download and no network code at all.

Other tools for keys from outside the message

XOR cipher
Exclusive-or bytes against a repeating key, in hex or Base64 β€” and try all two hundred and fifty-six single-byte keys.

One-time pad
The one cipher that cannot be broken β€” as long as the key is random, as long as the message, and never used twice.

Enigma machine
Rotors, ring settings, reflector and plugboard, wired as they were β€” double step and all.

All twenty ciphers