What closes a branch
- A key search closes one recipe on one section: every key was run, none gave English, and English of that length would have been found at least 95% of the time. Otherwise it is “too short to tell”.
- A class test closes the typical members of a kind of cipher: the real section lies beyond 99% of 199 simulated members, and the kind is left standing on a solved section that uses it.
- A bound closes every member of a family at once: an inequality that holds for all of them, proved, with its assumptions stated, and the text violates it.
Never: a report, a claim without a record, a search that was too short to tell.
No key independent of the plaintext made these pages
Claim. If each rune is encrypted as c = s(p + k) (mod 29), with a key that does not depend on the plaintext and s any fixed letter swap (or none), then neighbouring runes are equal at least as often as an average of the plaintext's rarest steps.
Why. ci = ci−1 exactly when pi − pi−1 = −(ki − ki−1). Because the key ignores the plaintext, the chance of that is Σd P(plain step = d) · P(key step = −d): an average of the plaintext's step frequencies. So it is at least the rarest step, and at least the average of the two rarest if the key takes no single step more than half the time. A key that does is close to repeating every 29 runes, which the period measurement rules out.
Numbers. This book's own English (the solved pages, 2,976 pairs): two rarest steps average 1.50%; we use 0.94% to allow for the small sample, and drop pairs touching an F rune in case F is copied unencrypted.
| region | runes | equal neighbours | least any such key gives | chance | |
|---|---|---|---|---|---|
| sections 7–15 | 12,956 | 86 | 113 | 4e-03 | closed |
| section 7 | 729 | 4 | 6 | 3e-01 | not alone |
| section 8 | 1,145 | 6 | 10 | 1e-01 | not alone |
| section 9 | 1,729 | 9 | 15 | 7e-02 | not alone |
| section 11 | 1,894 | 10 | 16 | 6e-02 | not alone |
| section 12 | 1,021 | 11 | 9 | 8e-01 | not alone |
| section 13 | 1,524 | 13 | 13 | 5e-01 | not alone |
| section 14 | 1,589 | 12 | 14 | 3e-01 | not alone |
| section 15 | 3,316 | 21 | 29 | 8e-02 | not alone |
| section 1 | 515 | 16 | 4 | 1e+00 | control (solved, independent key): stays open ✓ |
| section 5 | 319 | 9 | 3 | 1e+00 | control (solved, independent key): stays open ✓ |
| section 16 | 85 | 2 | 1 | 1e+00 | control (solved, independent key): stays open ✓ |
Tried to break it. The solved pages' English, encrypted with random independent keys: one-time pad, lowest 2.59%; repeating key, 1-60 runes, lowest 2.05%; constant step (the worst case), lowest 1.31%. The worst case sits exactly at the rarest step, as the proof says; nothing goes below it.
What it closes (sections 7–15 together, chance 4e-03): every repeating key of any length, running keys from any text, number streams, random generators, even a one-time pad, with or without a final letter swap. Each section alone is too short for this cautious version. With the much larger pinned English sample (Walden, Meditations) the chance is 2e-21.
Assumes one additive layer and plaintext written like the solved pages.
No chain cipher with a key that ignores the plaintext
Claim. A chain cipher ci = ci−1 + pi + ki, with a key that does not depend on the plaintext (repeating or not), cannot repeat a rune as rarely as these pages and also leave the text this even once the chain is undone.
Why. Undoing the chain leaves di = pi + ki, and the cipher repeats a rune exactly when di = 0, with chance Σx P(x) Q(−x), Q the key's letter frequencies. Making that rare forces the key onto the negatives of rare plaintext runes, which makes d uneven. The least unevenness possible under the repeat limit is a convex problem (minimise the IoC of P∗Q), solved numerically.
Numbers. At the pages' own 0.66% repeats, the differenced text would need an IoC of at least 1.0357; the pages give 1.0244, and random text with the same repeats varies by 0.0013. A cipher could aim for a little more repeats to be less uneven, so the test takes its best point on the curve: the chance of seeing so few repeats and so even a text is at most 8e-06 (at 0.94% repeats; 2e-07 with pinned English).
Tried to break it. Chain ciphers keyed at the optimum, on the solved pages' English: 0.64% repeats and a differenced IoC of 1.0355, on the curve as the argument says. Controls: true chain ciphers on English stay open (random key: chance 0.19, key at the optimum: chance 0.44).
Sections 7–15 together; per section, measurement tasks check the differenced text alone. Assumes a key independent of the plaintext; a chain whose key reacts to the text is open.
What is still open
- Keys that react to the text. A key that changes when a repeat would appear fits the missing doublets (#25). Tool: rule-aware decoding. Plaintext autokey (with or without secret alphabets) and ciphertext autokey are ruled out by class tests; chain ciphers with a key that ignores the plaintext by the second proof above.
- A secret alphabet before the key (s(p) + k). The bound does not apply. Class tests rule out typical random alphabets with short repeating keys; an alphabet chosen to make one step rare, with a matching key, is not ruled out.
- A transposition combined with a key. Not covered by these arguments. Tool: transposition ops.
- More than one layer, or a non-additive combination (tables, multiplication). Open.
- A plaintext unlike English (another language, a code). The bound needs English-like steps; most languages have them.
Check one specific attack against everything tried: bin/olp tried (see tried.txt).