“F16.1b-s-r: 0282's edge at key length 19 (K4 one slip from fitting two dictionary keyword alphabets): the count against 1,000 fresh shuffles and against stand-ins that keep the R-to-P repeat at 28 and 66; K4's one-slip settings read with the key free against 1,000 copies that keep the 20 official places; plants with one slip”
F16.1b-s-r (issue #123). 0282 found K4 fitting a pair of dictionary keyword alphabets at key length 19 in 200 of 210 drop sets of one or two of the 20 official letters, its 20 shuffles in at most 39 (p 0.048, both forms). Here, length 19 only: (1) the same count for 1,000 fresh shuffles, for 300 stand-ins that keep the carved letters at 28 and 66 (R to P twice, 38 = 2 x 19 apart: one of the nine checks at 19 is then free, as on K4), and for 300 that also keep 32 and 70 (A to K, C to M: the same shift on the plain table); (2) every setting K4 fits with one letter dropped, the key free (a chart key, #124): the 11 forced key letters read 33 unknown letters in three runs of 11; quadgram score of the best setting against the same settings on 1,000 copies that keep the 20 official places and shuffle the other 77; the judge on the tops. Strength aimed at: sampled.
With a key 19 letters long, the two known stretches of K4the carved letters The 97 letters cut into the copper at the CIA, shown at the top of every experiment page. sit exactly under the same key letters, and K4 comes within one wrong letter of fitting a cipher built from two keyword alphabets (an alphabet that starts with a word and goes on with the unused letters). Scrambled copiesa shuffled control The same experiment run on the carved letters shuffled into a random order. rarely come that close. Part of the reason is known: the letter R turns into P at two places 38 apart. We check whether there is more to it than that, and we read the letters each near-fit would give, against scrambled copies read the same way.
Words in the margin are defined on the glossary page.
1.1
The method at work
The carved letters go in at the top; the reading comes out at the bottom.
the edge
At key length 19 K4 fits two dictionary keyword alphabets in 200 of 210 drop sets of one or two official letters. Against 1,000 fresh shuffles that stays rare: p 0.017 and 0.014.
the repeat
Stand-ins that keep the carved letters at 28 and 66 (R to P twice, 38 apart) fit as often as K4: median 178, p 0.31 and 0.32. The excess is that one repeat.
the readings
With the key free, K4's best one-slip setting scores -6.66; 406 of 1000 copies that keep the 20 official places score at least that. The judge: K4 4, the copies' best 12.
plants
All 8 planted messages with one slip are listed, rank first and beat their 1,000 copies, read 98% right.
2
Experiment lineage
What this experiment was built on, from the lineage page: 10 experiments before it, back to the root of its line. Its number is in bold.
keptreverted, in its family's colour×error or timeoutreverted under today's rulesbuilt on a parent in the same familybuilt on a parent in another family
3
Best candidate against the known letters
This experiment produced no candidate: the search ruled everything out before a full text was built. Its product is the bounded negative under Result and bounds below.
4
Walkthrough, by hand
Redo the method on a few letters with pencil and paper.
Write K4 in rows of 19: places 26-34 fall under places 64-72, column for column.
Pick two keyword alphabets, say one from FOREST for the cipher side and one from BINDERY for the plain side.
In each column the two known pairs must need the same key letter; count the columns where they do not.
If exactly one column fails, call one of its two carved letters a slip and take the key letter from the other.
Columns 7-17 now have key letters: decrypt the three other rows of those columns (places 7-17, 45-55, 83-93).
Score those 33 letters as English; repeat for every pair of alphabets that comes this close.
Do the same on copies of K4 whose other 77 letters are shuffled, and compare the best scores.
the worksheet: the first steps by hand, on squared paper
5
Worked example, generated
The same steps run by the code on the real letters.
K4 in rows of 19: the official runs 26-34 and 64-72 share columns 7-15
column place known carved place known carved shift on the plain table (carved - known)
7 26 N Q 64 B N 3 and 12
8 27 O Q 65 E Y 2 and 20
9 28 R P 66 R P 24 and 24 equal
10 29 T R 67 L V 24 and 10
11 30 H N 68 I T 6 and 11
12 31 E G 69 N T 2 and 6
13 32 A K 70 C M 10 and 10 equal
14 33 S S 71 L Z 0 and 14
15 34 T S 72 O F 25 and 17
Places 28 and 66 both turn R into P; 32 and 70 share the shift 10 (A to K, C to M).
6
Hypothesis, for a cryptanalyst
Family, key space, the constraint under test, and the clues it reads.
C27(c) and C1(c) (two keyword-mixed alphabets, Quagmire IV, a repeating key), C17 and A1 (one enciphering slip, as K2 has; 12-assumptions.md), the revised criteria (#124: a chart key, a named slip). Cipher: c = CA[PA^-1(p) + k_(i mod 19)] (added) or CA[k - PA^-1(p)] (Beaufort), PA and CA keyword alphabets of 208,064 dictionary and puzzle words, key free. At length 19 the official runs 26-34 and 64-72 share key slots 6-14 (nine checks), 73 and 74 sit alone in slots 15 and 16. A true period-19 system predicts the R/P repeat at 28 and 66 (same slot, same plain letter). 0123/0124 put the repeat at about 1 in 40 by chance; 0148 found K1/K2's own tables one slip (at 33) from fitting, with a decider too weak to read it. Tests: counts (drop sets with a fitting pair, per form; one-slip settings) against plain shuffles (replication of 0282) and against repeat-keeping stand-ins (the fair null: is there more than the repeat?); readings (max over K4's one-slip settings of the mean log10 quadgram probability over the three 11-letter runs at places 7-17, 45-55, 83-93) against kept-place copies under the same settings. Flag lines, set before the run: counts against the repeat-keeping stand-ins p < 0.01; reading p < 0.01. Plants: English with the known words, two random keyword alphabets, a random 19-letter key, one slip at a paired official place; found when the planted pair is listed, ranks first among the plant's settings and beats every one of the plant's 1,000 kept-place copies.
7
Prediction
Written before the run; the result decides it.
Against plain shuffles K4's count stays rare (p between 0.01 and 0.06); against stand-ins that keep the R/P repeat it is ordinary (p above 0.05). K4's best one-slip reading scores inside its kept-place copies (p above 0.05) and the judge gives it no more than the copies' tops. Plants found at least 6 of 8. No candidate (8 of 19 key letters stay open).
8
Method
0282's pair index (0275's, 0244's alphabets), key length 19 only, for each text and each of the 210 drop sets of one or two official letters: the number of fitting alphabet pairs per form; one-letter drops listed.
Counts: drop sets fitting per form, one-slip settings; p of K4 against each set of stand-ins.
Readings: for each one-slip setting (form, alphabets, dropped place) the key letter of each slot 6-16 from the remaining known letter there; decrypt places 7-17, 45-55, 83-93; score by quadgrams. K4's best against the best of each of 1,000 kept-place copies (20 official places kept, 77 shuffled) under the same settings.
Judge: K4's top 5 readings and the top reading of each of the first 100 kept-place copies, one call, '?' for open letters.
Plants: the same, each against its own 1,000 kept-place copies.
9
Result and bounds
The harness's record: candidates, gates, loss, and the negative result this experiment leaves behind.
0candidates returned
0passed every gate
0/24known letters, best
–lowest loss
nonechampion before
counts: K4 {'drop_sets_added': 200, 'drop_sets_beaufort': 200, 'single_drops_fitting': 32, 'one_slip_settings': 272}; p against plain shuffles 0.017/0.014, against R/P-keeping stand-ins 0.3123/0.3223; reading: K4 best -6.664830624264806, 406 of 1000 kept-place copies at or above (p 0.4066); judge K4 4 vs copies 12; plants 8/8