Experiment 18

“Construction simulator: which cipher families produce texts with K4's statistical fingerprint?”

New root in family 7. Not a solver: fourteen generators encrypt English windows with random keys, and K4's statistics are placed in each family's distribution.

revertedstatus
a new rootparents
15 mintime, all phases
0candidates
0/24known letters
1

The experiment method

What the method does with the 24 known letters.

Instead of trying to break the messagethe message The 97 letters of English that Jim Sanborn wrote and enciphered., we build a workshop. We take ordinary English text, scramble it with each kind of cipher we suspect, using random keys, thousands of times, and measure the results: how evenly the letters are spreadthe index of coincidence The chance that two letters picked at random from the text are the same., how often a letter repeats its neighbour, how letters line up in columns. Then we ask which kind of cipher most often produces text that measures like K4the carved letters The 97 letters cut into the copper at the CIA, shown at the top of every experiment page.. The method that solved another famous cipher, the Zodiac killer's, worked this way. It will not tell us the message, but it tells us where to dig.

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.

OBKRUOXOGHULBSOLIFBBWEASTNORTHEASTOTWTQSJQSSEKZZWATJKLUDIAWINFBBERLINCLOCKWGDKZXTJCDIGKUHUAUEKCARIN: THE COPPER, ALL 97 LETTERS, THE 24 KNOWN PLACES IN ACCENTthe copper in rows of 7OBKRUOXOGHULBSOLIFBBWFLRVQQPRNGKSSOTWTQSJQSSEKZZWATJKLUDIAWINFBNYPVTTMZFPKWGDKZXTJCDIGKUHUAUEKCARthe copper in rows of 21OBKRUOXOGHULBSOLIFBBWFLRVQQPRNGKSSOTWTQSJQSSEKZZWATJKLUDIAWINFBNYPVTTMZFPKWGDKZXTJCDIGKUHUAUEKCAR11 letter pairs stacked one row apart repeat elsewhere in the grid5 of its 6 doubled letters start in column 5 of the rows of 7nearest generators, 5,000 samples each (distance, lower is closer)Hill 2x2 6.02Hill 3x3 6.32columnar transposition then Vigenere 6.44Vigenere then columnar transposition 6.44Quagmire, random alphabets, period 27-30 6.46doubled lettersrepeated vertical pairs at width 21OUT: NO READING; THIS EXPERIMENT MEASURES THE COPPER, IT DOES NOT DECRYPT ITEASTNORTHEASTBERLINCLOCK
the fingerprints

Ten numbers describe the copper: how evenly letters are used, doubled letters, and two oddities. Five of the six doubled letters line up in one column when the copper is written in rows of 7, and eleven vertical pairs repeat in rows of 21.

the simulator

Each candidate method was run 5,000 times on English messages, and its outputs measured the same way. The closest method is the one whose outputs look most like K4.

the result

Hill ciphers and transposition with a table come closest overall, but none of them makes the width-7 column or the width-21 repeats often. Those two marks are still unexplained.

2

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 in section 7.

3

Walkthrough, by hand

Redo the method on a few letters with pencil and paper.

  1. Count each letter in K4: K appears 8 times, M and Y once.
  2. The index of coincidence is the chance two letters drawn at random match: add n(n-1) over the 26 counts and divide by 97 times 96; K4 gives 0.0361.
  3. Now take an English sentence of 97 letters and encipher it with a repeating key of 28 random letters on the sculpture's table.
  4. Count its letters the same way and compute its index.
  5. Do this 5,000 times and see where 0.0361 falls among the results.
  6. Repeat for the other statistics and the other ciphers.
  7. A cipher that rarely produces K4's numbers is unlikely; one that often does stays on the list.
the worksheet: the first steps by hand, on squared paper
FINDING THE DOUBLED LETTERS BY HAND: THE COPPER IN ROWS OF 7OBKRUOXOGHULBSOLIFBBWFLRVQQPRNGKSSOTWTQSJQSSEKZZWATJKLUDIAWINFBNYPVTTMZFPKWGDKZXTJCDIGKUHUAUEKCARplaces 92-97placepaircolumn in rows of 719BB526QQ533SS543SS147ZZ568TT5Mark every letter that equals the next one.Write the copper in rows of 7 and note whichcolumn each pair starts in. Five of six startin the same column; random text rarely doesthat.
4

Worked example, generated

The same steps run by the code on the real letters.

one sample from the periodic-Vigenere generator against K4

plain  ORMATIONWASGATHEREDANDTRANSMITTEDUNDERGRUUNDTOANUNKNOWNLOCATIONXDOESLANGLEYKNOWABOUTTHISTHEYSHOUL
cipher QEUCCMKEVQJJHVAIPGLTXZYKUZJAZASJGJECXEJBGHWFSFTXDLZAEABRBEFADWMEQBMXDEUIXBAILTEGMQOASNMRVGXFCUWHU

statistic                           K4    sample
ic                              0.0361    0.0395
distinct                       26.0000   26.0000
doublets                        6.0000    2.0000
width7_doublet_column           5.0000    2.0000
width21_vertical_repeats       11.0000    1.0000
repeated_bigrams               10.0000    7.0000
top_count                       8.0000    9.0000
singletons                      2.0000    4.0000
closeness_mean_distance         5.5833    7.2083
self_encryptions                2.0000    0.0000
5

Hypothesis, for a cryptanalyst

Family, key space, the constraint under test, and the clues it reads.

Oranchak, Blake and Van Eycke solved Zodiac 340 by simulating constructions until one reproduced the ciphertext's fingerprint (knowledge/07-people.md). K4's fingerprint (knowledge/04-structure.md): index of coincidence 0.0361; all 26 letters present; six doublets, five of them in one column at width 7; eleven repeated vertical bigrams at width 21; top frequency 8; and Bean's closeness, the crib plaintext letters sitting near their ciphertext letters on the standard alphabet. Each generator takes a random 97-letter window of the K1-K3 plaintexts and a random key: periodic Vigenere on the KRYPTOS alphabet at periods 27-30, Quagmire with random alphabets, progressive key, plaintext autokey, running key, columnar then Vigenere, Vigenere then columnar, Hill 2x2 and 3x3, Gromark base 10, plus three calibration generators (random letters, pure transposition, monoalphabetic). For each statistic and generator we record the two-sided empirical p-value of K4's value and a combined distance. The result ranks families by plausibility; it decides none. Bounds: 5,000 samples per generator, these twelve statistics.

6

Prediction

Written before the run; the result decides it.

K4's flat letter distribution sits comfortably inside every polyalphabetic family and outside the monoalphabetic and pure-transposition calibrations. The width-7 doublet column and the width-21 repeats are unusual under every generator, with p-values near 0.01 to 0.1, so no family is singled out by them. Bean's closeness statistic separates families: letter-for-letter systems on a near-standard alphabet reproduce it more often than transposed or Hill systems.

7

Method

  1. Define the statistics on a 97-letter text, with the plaintext available for the closeness statistic at the 24 crib positions.
  2. Build fourteen generators.
  3. Draw 5,000 samples each.
  4. For each statistic, compute K4's two-sided empirical p-value under each generator and a z-score.
  5. Combine the z-scores into a distance and rank the generators.
8

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

Diagnostic, no candidates. Ranking nearest first: Hill 2x2 (6.02); Hill 3x3 (6.32); columnar transposition then Vigenere (6.44); Vigenere then columnar transposition (6.44); Quagmire, random alphabets, period 27-30 (6.46).

What was searched, as the harness recorded it.

family
construction simulation
samples per generator
5,000
statistics
ic, distinct, doublets, width7_doublet_column, width21_vertical_repeats, repeated_bigrams, top_count, singletons, closeness_mean_distance, self_encryptions
k4
ic
0.036
distinct
26
doublets
6
width7 doublet column
5
width21 vertical repeats
11
repeated bigrams
10
top count
8
singletons
2
closeness mean distance
5.583
self encryptions
2
ranking by distance
  1. Hill 2x2, 6.02
  2. Hill 3x3, 6.32
  3. columnar transposition then Vigenere, 6.44
  4. Vigenere then columnar transposition, 6.44
  5. Quagmire, random alphabets, period 27-30, 6.46
  6. progressive key, period 7-13, 6.46
  7. periodic Vigenere, KRYPTOS alphabet, period 27-30, 6.47
  8. Gromark base 10, random cipher alphabet, 6.51
  9. calibration: random letters, 6.62
  10. plaintext autokey, lag 1-30, 7.67
  11. calibration: pure columnar transposition, 7.7
  12. running key from K1-K3 English, 8.22
and 1 more
table
periodic Vigenere, KRYPTOS alphabet, period 27-30
ic
mean
0.039
sd
0.003
z
-1.02
p
0.315
distinct
mean
25.321
sd
0.783
z
0.87
p
0.981
doublets
mean
3.738
sd
1.895
z
1.19
p
0.348
width7 doublet column
mean
1.596
sd
0.713
z
4.77
p
0.002
width21 vertical repeats
mean
4.251
sd
1.985
z
3.4
p
0.005
repeated bigrams
mean
6.958
sd
2.552
z
1.19
p
0.298
top count
mean
8.215
sd
1.254
z
-0.17
p
1
singletons
mean
2.373
sd
1.339
z
-0.28
p
1
closeness mean distance
mean
6.511
sd
0.775
z
-1.2
p
0.242
self encryptions
mean
0.92
sd
0.95
z
1.14
p
0.472
distance
6.47
n
5,000
Quagmire, random alphabets, period 27-30
ic
mean
0.039
sd
0.003
z
-1.04
p
0.304
distinct
mean
25.323
sd
0.767
z
0.88
p
0.971
doublets
mean
3.679
sd
1.872
z
1.24
p
0.336
width7 doublet column
mean
1.582
sd
0.727
z
4.7
p
0.002
width21 vertical repeats
mean
4.228
sd
1.948
z
3.48
p
0.004
repeated bigrams
mean
6.962
sd
2.576
z
1.18
p
0.31
top count
mean
8.259
sd
1.285
z
-0.2
p
1
singletons
mean
2.397
sd
1.339
z
-0.3
p
1
closeness mean distance
mean
6.501
sd
0.778
z
-1.18
p
0.243
self encryptions
mean
0.93
sd
0.952
z
1.12
p
0.473
distance
6.46
n
5,000
progressive key, period 7-13
ic
mean
0.038
sd
0.003
z
-0.81
p
0.466
distinct
mean
25.421
sd
0.725
z
0.8
p
1
doublets
mean
3.736
sd
1.966
z
1.15
p
0.357
width7 doublet column
mean
1.608
sd
0.74
z
4.58
p
0.003
width21 vertical repeats
mean
4.078
sd
1.918
z
3.61
p
0.006
repeated bigrams
mean
6.398
sd
2.427
z
1.48
p
0.206
top count
mean
7.991
sd
1.198
z
0.01
p
1
singletons
mean
2.238
sd
1.288
z
-0.18
p
1
closeness mean distance
mean
6.52
sd
0.767
z
-1.22
p
0.232
self encryptions
mean
0.915
sd
0.924
z
1.17
p
0.48
distance
6.46
n
5,000
plaintext autokey, lag 1-30
ic
mean
0.04
sd
0.003
z
-1.21
p
0.204
distinct
mean
25.228
sd
0.808
z
0.96
p
0.858
doublets
mean
3.729
sd
1.959
z
1.16
p
0.347
width7 doublet column
mean
1.613
sd
0.75
z
4.51
p
0.002
width21 vertical repeats
mean
4.557
sd
2.139
z
3.01
p
0.02
repeated bigrams
mean
7.773
sd
3.089
z
0.72
p
0.476
top count
mean
8.488
sd
1.359
z
-0.36
p
1
singletons
mean
2.552
sd
1.385
z
-0.4
p
1
closeness mean distance
mean
7.059
sd
0.7
z
-2.11
p
0.032
self encryptions
mean
0.174
sd
0.404
z
4.52
p
0.017
distance
7.67
n
5,000
running key from K1-K3 English
ic
mean
0.04
sd
0.004
z
-0.95
p
0.241
distinct
mean
25.241
sd
0.926
z
0.82
p
0.907
doublets
mean
3.692
sd
1.884
z
1.23
p
0.313
width7 doublet column
mean
1.591
sd
0.739
z
4.61
p
0.003
width21 vertical repeats
mean
4.337
sd
2.079
z
3.21
p
0.011
repeated bigrams
mean
7.118
sd
2.886
z
1
p
0.348
top count
mean
8.334
sd
1.312
z
-0.25
p
1
singletons
mean
2.506
sd
1.362
z
-0.37
p
1
closeness mean distance
mean
7.114
sd
0.704
z
-2.17
p
0.032
self encryptions
mean
0.149
sd
0.356
z
5.2
p
0
distance
8.22
n
5,000
columnar transposition then Vigenere
ic
mean
0.039
sd
0.003
z
-0.99
p
0.33
distinct
mean
25.329
sd
0.771
z
0.87
p
0.978
doublets
mean
3.696
sd
1.902
z
1.21
p
0.33
width7 doublet column
mean
1.594
sd
0.727
z
4.68
p
0.001
width21 vertical repeats
mean
4.248
sd
1.967
z
3.43
p
0.004
repeated bigrams
mean
6.755
sd
2.476
z
1.31
p
0.283
top count
mean
8.215
sd
1.286
z
-0.17
p
1
singletons
mean
2.356
sd
1.304
z
-0.27
p
1
closeness mean distance
mean
6.485
sd
0.77
z
-1.17
p
0.26
self encryptions
mean
0.906
sd
0.949
z
1.15
p
0.461
distance
6.44
n
5,000
Vigenere then columnar transposition
ic
mean
0.039
sd
0.003
z
-1.02
p
0.299
distinct
mean
25.341
sd
0.759
z
0.87
p
0.986
doublets
mean
3.753
sd
1.948
z
1.15
p
0.346
width7 doublet column
mean
1.607
sd
0.733
z
4.63
p
0.002
width21 vertical repeats
mean
4.196
sd
1.942
z
3.5
p
0.004
repeated bigrams
mean
6.739
sd
2.464
z
1.32
p
0.256
top count
mean
8.209
sd
1.256
z
-0.17
p
1
singletons
mean
2.393
sd
1.338
z
-0.29
p
1
closeness mean distance
mean
6.499
sd
0.765
z
-1.2
p
0.246
self encryptions
mean
0.923
sd
0.948
z
1.14
p
0.476
distance
6.44
n
5,000
Hill 2x2
ic
mean
0.042
sd
0.005
z
-1.32
p
0.107
distinct
mean
24.952
sd
0.985
z
1.06
p
0.674
doublets
mean
3.78
sd
2.032
z
1.09
p
0.372
width7 doublet column
mean
1.603
sd
0.748
z
4.54
p
0.002
width21 vertical repeats
mean
4.811
sd
2.146
z
2.88
p
0.018
repeated bigrams
mean
13.549
sd
3.481
z
-1.02
p
0.378
top count
mean
9.067
sd
1.727
z
-0.62
p
0.858
singletons
mean
2.843
sd
1.427
z
-0.59
p
0.843
closeness mean distance
mean
6.506
sd
0.82
z
-1.13
p
0.265
self encryptions
mean
1.382
sd
1.533
z
0.4
p
0.743
distance
6.02
n
5,000
Hill 3x3
ic
mean
0.039
sd
0.003
z
-0.98
p
0.33
distinct
mean
25.354
sd
0.759
z
0.85
p
1
doublets
mean
3.659
sd
1.925
z
1.22
p
0.336
width7 doublet column
mean
1.579
sd
0.732
z
4.67
p
0.001
width21 vertical repeats
mean
4.178
sd
1.932
z
3.53
p
0.004
repeated bigrams
mean
8.371
sd
3.333
z
0.49
p
0.665
top count
mean
8.227
sd
1.306
z
-0.17
p
1
singletons
mean
2.402
sd
1.363
z
-0.29
p
1
closeness mean distance
mean
6.483
sd
0.791
z
-1.14
p
0.268
self encryptions
mean
1.027
sd
1.032
z
0.94
p
0.551
distance
6.32
n
5,000
Gromark base 10, random cipher alphabet
ic
mean
0.039
sd
0.003
z
-1.05
p
0.29
distinct
mean
25.294
sd
0.788
z
0.9
p
0.938
doublets
mean
3.484
sd
1.809
z
1.39
p
0.273
width7 doublet column
mean
1.536
sd
0.716
z
4.84
p
0.002
width21 vertical repeats
mean
4.368
sd
1.974
z
3.36
p
0.007
repeated bigrams
mean
6.77
sd
2.481
z
1.3
p
0.267
top count
mean
8.275
sd
1.277
z
-0.22
p
1
singletons
mean
2.424
sd
1.369
z
-0.31
p
1
closeness mean distance
mean
6.483
sd
0.95
z
-0.95
p
0.366
self encryptions
mean
0.942
sd
0.988
z
1.07
p
0.494
distance
6.51
n
5,000
calibration: random letters
ic
mean
0.038
sd
0.003
z
-0.86
p
0.42
distinct
mean
25.405
sd
0.722
z
0.82
p
1
doublets
mean
3.718
sd
1.884
z
1.21
p
0.338
width7 doublet column
mean
1.584
sd
0.717
z
4.77
p
0.003
width21 vertical repeats
mean
4.052
sd
1.907
z
3.64
p
0.005
repeated bigrams
mean
6.47
sd
2.407
z
1.47
p
0.217
top count
mean
8.013
sd
1.187
z
-0.01
p
1
singletons
mean
2.222
sd
1.278
z
-0.17
p
1
closeness mean distance
mean
6.514
sd
0.772
z
-1.2
p
0.236
self encryptions
mean
0.935
sd
0.923
z
1.15
p
0.466
distance
6.62
n
5,000
calibration: pure columnar transposition
ic
mean
0.066
sd
0.007
z
-4.16
p
0
distinct
mean
20.412
sd
1.189
z
4.7
p
0
doublets
mean
6.551
sd
2.754
z
-0.2
p
1
width7 doublet column
mean
2.308
sd
0.901
z
2.99
p
0.032
width21 vertical repeats
mean
10.854
sd
3.122
z
0.05
p
1
repeated bigrams
mean
17.121
sd
3.971
z
-1.79
p
0.055
top count
mean
13.764
sd
2.342
z
-2.46
p
0
singletons
mean
3.249
sd
1.417
z
-0.88
p
0.607
closeness mean distance
mean
6.367
sd
0.813
z
-0.96
p
0.348
self encryptions
mean
1.856
sd
1.327
z
0.11
p
1
distance
7.7
n
5,000
calibration: monoalphabetic
ic
mean
0.067
sd
0.007
z
-4.14
p
0
distinct
mean
20.446
sd
1.193
z
4.65
p
0
doublets
mean
2.913
sd
0.988
z
3.12
p
0
width7 doublet column
mean
1.367
sd
0.482
z
7.54
p
0
width21 vertical repeats
mean
10.72
sd
2.556
z
0.11
p
0.966
repeated bigrams
mean
26.195
sd
5.023
z
-3.22
p
0
top count
mean
13.775
sd
2.35
z
-2.46
p
0
singletons
mean
3.286
sd
1.448
z
-0.89
p
0.593
closeness mean distance
mean
6.49
sd
1.204
z
-0.75
p
0.475
self encryptions
mean
0.926
sd
1.467
z
0.73
p
0.481
distance
11.12
n
5,000

How this experiment sits among the others is on the lineage page; its family's open hypotheses are on the families page.

Rendered from the record on 2026-10-18 12:26 UTC; updated after every experiment.
view on GitHub