Under construction. A new version of this site is being built. Everything here still works: records still verify and contributions are still accepted.

open-liber-primus · topics

Secret alphabets (Quagmire, Gromark, keyed alphabets)

The runes are swapped by a secret alphabet before or after a key is added. A swap after the key is covered by the general bound; typical swaps before a short repeating key or a digit key are ruled out; a swap chosen to defeat these tests is open.

partly ruled outmixed alphabetquagmiregromarkgronsfeldkeyed alphabetsubstitution

What it is

A secret ordering of the 29 runes (a keyed alphabet) used before and/or after adding a key, as in the Quagmire and Gromark ciphers.

What was tried

What follows

Repeating key inside mixed alphabets, 1–20 runes: ruled out on all 8 unsolved sectionsEach real section's IoC at the best key length is lower than in all 199 simulated ciphers0.51.01.52.02.53.0IoC at the best key lengthsectionsection 7: this text 1.02335; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out7ruled outsection 8: this text 1.0441; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out8ruled outsection 9: this text 1.02687; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out9ruled outsection 11: this text 1.03755; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out11ruled outsection 12: this text 1.03332; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out12ruled outsection 13: this text 1.02347; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out13ruled outsection 14: this text 1.02231; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out14ruled outsection 15: this text 1.01787; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out15ruled outsection 1 (solved: a control): this text 1.29709; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out1n/asection 5 (solved: a control): this text 1.91911; 114 of 199 simulated ciphers of this kind are as low or lower · fits5fits199 simulated ciphers (box 25–75%, whiskers 1–99%)real: ruled outreal: fitssolved sections
Figure 1. A short repeating key added after the runes are swapped by one secret alphabet, and swapped again afterwards (known as Quagmire I–IV). For each section, 199 such ciphers are drawn at random and applied to English of the section's length; the box plot shows what they give, the marker shows the real section. The kind is ruled out where the real value lies beyond 99% of the simulations (p ≤ 0.01). Shaded: solved sections. No solved section uses this kind, so there is no control.
Digit keys under a mixed alphabet (Gromark-type): ruled out on all 8 unsolved sectionsEach real section's index of coincidence is lower than in all 199 simulated ciphers0.9751.0001.0251.0501.0751.100index of coincidencesectionsection 7: this text 0.988393; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out7ruled outsection 8: this text 1.00438; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out8ruled outsection 9: this text 0.999354; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out9ruled outsection 11: this text 1.00035; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out11ruled outsection 12: this text 0.993956; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out12ruled outsection 13: this text 0.992275; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out13ruled outsection 14: this text 0.996145; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out14ruled outsection 15: this text 0.999422; 0 of 199 simulated ciphers of this kind are as low or lower · ruled out15ruled out199 simulated ciphers (box 25–75%, whiskers 1–99%)real: ruled out
Figure 2. A key as long as the text made only of the numbers 0–9, added to each rune, then a secret alphabet swap (known as Gronsfeld or Gromark). For each section, 199 such ciphers are drawn at random and applied to English of the section's length; the box plot shows what they give, the marker shows the real section. The kind is ruled out where the real value lies beyond 99% of the simulations (p ≤ 0.01). No solved section uses this kind, so there is no control.

Still open

Gathered from the records

class tests (36)
open tasks (18)
claims from elsewhere (not checked) (4)

Check this report: bin/olp topic mixed-alphabets --check re-runs every record it cites. Improve it: edit topics/mixed-alphabets.md (every claim needs a citation; see the format in olp/topics.py). Related: Alberti cipher (cipher disk), Repeating keys (Vigenère and relatives), Autokey and chain ciphers (the text keys itself)

Curiosity above all. Nobody here is paid, ranked or promised anything. The Liber Primus is worked on because it is interesting: a careful dead end, an odd statistic, a better tool, a good question, all count. Bring your curiosity; the checker keeps us honest.