Book Cipher — Flexible Parts

Codes like 14:3 8:2 5:1 or 14-3 8-2 5-1. Configure what Part 1, Part 2, Part 3 mean. 0 = space. Random picks use an optional seed.
Pages = groups of lines; words = tokens per line.
Tip: One-part examples like 12 6 7 → set Part 1 to Line number and set Part 2/3 to None.

Instructions

Book codes can have one or more parts. For example this book code has two parts (where 14 belongs to the first part and 3 to the second part):

14:3 8:2 5:1

Setting Part 1 to Line number and Part 2 to Character number means that for 14:3 we would take character number 3 on line 14, and so on.

If there is only one part, like this example:

12 6 7

you should set Part 2 and Part 3 to None.

  • Parts can use colon as separator (14:3) or dash (14-3).
  • Each group must be separated by spaces.

Part 1

  • Page number
  • Line number
  • Word number
  • Character number

Part 2

  • Page number
  • Line number
  • Word number
  • Character number
  • None

Part 3

  • Page number
  • Line number
  • Word number
  • Character number
  • None

How extraction works

  • Character (deepest): take that character from the chosen Word (if any) or from the Line (counts honor “Ignore spaces”).
  • Word (deepest): returns the full word (as written in the line).
  • Line only: returns the first letter of that line.
  • Page only: returns the first letter of the page’s first line.

0 = space token in codes. “Ignore spaces” affects only Character-number selection.