Page Analysis: p8-14

For a basic “Count”, “Double-Letter Occurrence”, “Running IoC”, and “Concealment” analysis use this, general purpose, cipher analysis tool.

Index of Coincidence (IoC)

Quick IoC recap: Normal rune-english IoC is about 1.77. Values below 1.4 are highly unlikely to be anywhat meaningful. Predicting english text with IoC gets worse if the text is very short.

Here, we are considering either ᚠ being an interrupt; or it's inverse ᛠ. The numbers (1–32) represent the key length. With a key length of 5, every fifth rune will be decrypted with the same alphabet.

Note: The darker the cell, the better the prediction. The runes per length columns influences the results of the other columns; so if this is low, the other columns are not reliable.

IoC-highIoC-normRunes / keylen
11.031.020.250.25594582
21.081.070.300.30297291
31.071.070.300.30198194
41.111.110.330.34148145
51.131.120.350.35118116
61.121.120.350.359997
71.151.140.380.378483
81.141.140.360.367472
91.101.160.330.386664
101.161.180.390.415958
111.201.220.430.455452
121.171.160.390.384948
131.161.170.390.404544
141.221.220.440.444241
151.161.200.390.433938
161.181.230.400.463736
171.271.200.490.423434
181.231.250.450.453332
191.161.180.390.383130
201.231.310.440.492929
211.251.230.420.452827
221.321.340.530.502726
231.281.230.480.422525
241.271.380.450.532424
251.261.240.450.452323
261.251.270.440.482222
271.251.240.450.412221
281.241.300.430.472120
291.291.350.470.472020
301.261.320.440.451919
311.331.360.460.511918
321.371.360.510.471818
best32242224

Modulo IoC

This section explores the idea of multiple alphabet-sets alternating. For example, have two or three Vigenere ciphers that switch after each rune. A Vigenere with key length 3 (ABC) plus another Vigenere with key length 4 (DEFG) will generate a pattern that only repeats after 24 runes (ADBECFAGBDCEAFBGCDAEBFCG). So, the first group will represent every 2nd letter (starting with the first), and the second group will also contain every 2nd letter but starting with the second.

There are two main distinctions. Interrupt-first-then-mod assumes that an interrupt will pause the alternation between the different groups. Mod-first-then-interrupt assumes that an interrupt will pause the key alternation within that group. Lets look at the example Vig(3) + Vig(5). With the first, the decryption sequence is: Vig(3)[0], interrupt, Vig(5)[0], Vig(3)[1], etc. With the second, the decryption sequence is: Vig(3)[0], interrupt, Vig(3)[1], Vig(5)[0], etc. Note that the second decryption still switched to Vig(5) but was ignored because it was an interrupt.

Note: The row header format is {interrupt}.{mod}.{offset}. “ᚠ.2.0” means, assume the interrupt is ᚠ, divide the data into two sets, then look at the first set (rune at index 0, rune at index 2, etc.). The column shows the key length for which the IoC was calculated. In the previous example, with a key length of 7, indices 0, 14, 28, ... are part of one alphabet, and indices 2, 17, 30, ... are part of another alphabet. Both are from the same alphabet-set!

Interrupt first, then mod (IoC-high):
runes12345678910111213
ᚠ.2.02971.101.141.171.211.301.301.301.261.331.421.421.371.40
ᚠ.2.12971.101.171.211.241.311.361.291.311.341.381.411.441.36
ᚠ.3.01981.171.251.291.331.351.531.501.57
ᚠ.3.11981.131.231.211.291.441.471.461.41
ᚠ.3.21981.161.241.301.321.501.491.531.61
ᛠ.2.02911.121.181.221.231.351.241.351.321.351.441.501.551.49
ᛠ.2.12911.111.181.211.231.331.241.361.271.371.451.461.531.47
ᛠ.3.01941.241.301.361.301.441.491.601.56
ᛠ.3.11941.191.281.331.301.481.451.531.56
ᛠ.3.21941.201.261.301.311.441.381.551.61
Interrupt first, then mod (IoC-norm):
runes12345678910111213
ᚠ.2.02970.320.370.400.430.530.530.530.450.550.590.640.550.57
ᚠ.2.12970.330.390.440.460.530.540.510.500.560.570.630.630.56
ᚠ.3.01980.390.480.520.550.570.730.660.68
ᚠ.3.11980.360.460.430.490.670.690.680.57
ᚠ.3.21980.390.470.520.540.680.630.660.70
ᛠ.2.02910.350.400.440.450.570.470.550.530.560.620.670.600.65
ᛠ.2.12910.340.410.430.450.560.470.570.500.590.610.650.610.64
ᛠ.3.01940.460.520.590.520.630.670.780.67
ᛠ.3.11940.420.500.560.530.630.620.700.72
ᛠ.3.21940.420.490.520.540.630.570.730.71
Mod first, then interrupt (IoC-high):
runes23456789101112131415161718
ᚠ.2.05871.091.081.121.111.151.161.141.141.181.161.271.161.221.211.231.251.25
ᚠ.2.14521.101.191.171.151.201.251.181.301.261.331.281.221.251.281.241.241.32
ᚠ.3.04701.061.101.121.071.141.151.161.191.121.221.271.191.251.161.201.201.22
ᚠ.3.15761.131.111.141.181.141.161.231.201.261.211.161.211.231.231.211.201.25
ᚠ.3.23401.111.151.191.221.191.221.251.281.331.311.281.301.351.331.341.361.33
ᛠ.2.05701.051.081.091.111.151.191.141.141.141.261.181.191.231.191.251.151.23
ᛠ.2.15781.061.081.101.131.121.181.101.171.211.201.181.191.201.211.141.221.17
ᛠ.3.04041.091.121.131.141.151.171.191.201.171.321.261.321.291.241.291.291.27
ᛠ.3.15761.121.141.161.201.191.201.231.291.291.181.231.321.301.241.271.251.38
ᛠ.3.25761.081.091.141.121.111.141.201.141.211.221.171.161.201.241.191.171.19
Mod first, then interrupt (IoC-norm):
runes23456789101112131415161718
ᚠ.2.05870.310.310.340.340.380.390.360.370.410.380.490.390.450.420.450.450.46
ᚠ.2.14520.330.410.390.380.420.470.400.520.480.530.510.440.480.480.450.470.48
ᚠ.3.04700.280.320.350.300.360.380.380.410.350.450.490.410.470.380.420.420.42
ᚠ.3.15760.360.330.370.410.360.390.430.430.490.440.390.430.460.450.420.420.48
ᚠ.3.23400.340.380.410.440.420.450.480.500.550.520.490.510.510.530.500.500.48
ᛠ.2.05700.280.300.320.340.370.420.360.370.370.490.410.410.450.400.450.370.45
ᛠ.2.15780.290.310.330.350.340.400.330.400.440.430.410.420.400.430.360.440.40
ᛠ.3.04040.320.350.350.370.370.400.420.430.380.550.450.530.500.450.460.480.46
ᛠ.3.15760.350.360.390.420.420.430.460.520.490.400.450.520.490.450.460.460.56
ᛠ.3.25760.310.310.360.350.340.360.430.370.440.450.400.390.430.450.410.380.41

Pattern IoC

This section looks at different ways to extend a short key into a longer one. The result of this expansion is still a plain Vigenere-like encryption but the key is so long that we would not be able to find it with IoC analysis. However, we can use the fact that the same letters appear again and so there are less alphabets than the key length.

The two mirror pattern variants simply flip the key in reverse and append it to the original key. For example, the key ABCD will become ABCDDCBA (Variant A) or ABCDCB (Variant B). Both keys will repeat after that. Notice how the first variant produces double letters (DD and AA) and the second does not.

The shift pattern simply offsets the key by one and appends this permutation to the key. For example, ABCD becomes ABCDBCDACDABDABC. Each key length n (here 4) has n - 1 shifts. The example before was shift = 1. The other two are ABCDCDAB (shift=2) and ABCDDABCCDABBCDA (shift=3). And again, like with the mirror pattern, we greatly increase the key length without increasing the alphabet count.

Note: While the column in the mirror pattern represents the key length, the column in the shift pattern is not the key length. Instead, the key length is given in the row title, e.g., “ᚠ.5”. The column header represents the key shift variation.

Mirror Pattern (IoC-high):
runes456789101112131415161718
ᚠ.a5941.091.131.101.121.121.151.151.211.171.151.171.231.211.191.18
ᚠ.b5941.131.141.161.191.201.171.221.191.261.241.221.211.241.281.31
ᛠ.a5821.111.121.131.141.171.201.211.251.241.201.241.221.241.201.26
ᛠ.b5821.151.161.191.161.191.251.261.241.271.341.301.261.271.291.25
Mirror Pattern (IoC-norm):
runes456789101112131415161718
ᚠ.a5940.310.360.330.350.350.380.370.430.400.380.390.440.440.410.40
ᚠ.b5940.350.360.390.410.410.390.440.410.450.420.420.410.430.480.43
ᛠ.a5820.340.340.350.370.400.430.440.480.470.430.470.450.450.420.45
ᛠ.b5820.370.380.410.390.420.470.440.450.450.500.460.480.440.490.45
Shift Pattern (IoC-high):
runes1234567891011121314151617
ᚠ.41481.121.101.10
ᚠ.51181.151.121.111.11
ᚠ.6991.111.131.121.151.12
ᚠ.7841.141.121.131.181.171.10
ᚠ.8741.151.191.141.151.131.181.12
ᚠ.9661.161.161.121.181.141.131.161.16
ᚠ.10591.131.161.181.141.161.161.161.181.15
ᚠ.11541.201.191.151.221.221.191.221.161.151.16
ᚠ.12491.181.261.191.171.211.211.201.221.161.151.23
ᚠ.13451.161.191.191.201.191.171.201.201.161.171.191.15
ᚠ.14421.191.221.231.251.161.251.201.261.211.191.171.171.17
ᚠ.15391.181.261.231.221.231.181.221.251.181.191.231.191.201.17
ᚠ.16371.171.211.201.191.211.231.251.251.181.161.191.311.241.171.24
ᚠ.17341.151.221.251.171.231.201.271.191.281.271.241.251.201.161.131.21
ᚠ.18331.251.161.211.291.241.261.201.201.161.211.251.191.241.231.231.181.20
ᛠ.41451.121.111.09
ᛠ.51161.131.121.121.10
ᛠ.6971.171.151.111.131.11
ᛠ.7831.141.151.121.161.201.12
ᛠ.8721.141.181.201.171.171.161.14
ᛠ.9641.131.161.151.161.141.131.171.13
ᛠ.10581.171.161.201.191.191.191.171.151.21
ᛠ.11521.171.181.161.211.221.161.211.161.211.15
ᛠ.12481.241.181.191.201.181.251.181.211.171.211.25
ᛠ.13441.161.221.171.191.201.191.191.221.211.201.181.17
ᛠ.14411.211.221.181.191.191.241.231.241.221.171.171.191.20
ᛠ.15381.231.241.151.221.231.201.171.231.201.241.261.191.221.20
ᛠ.16361.201.201.231.201.261.211.201.231.261.201.251.221.201.281.23
ᛠ.17341.221.181.281.201.251.241.321.201.251.271.261.221.251.231.211.24
ᛠ.18321.251.221.251.351.241.201.241.241.201.231.261.201.271.221.241.241.22
Shift Pattern (IoC-norm):
runes1234567891011121314151617
ᚠ.41480.340.330.32
ᚠ.51180.380.350.330.34
ᚠ.6990.340.360.350.370.35
ᚠ.7840.370.340.350.410.400.32
ᚠ.8740.380.410.360.370.360.400.35
ᚠ.9660.390.390.350.400.370.360.380.39
ᚠ.10590.360.390.410.360.390.390.380.410.38
ᚠ.11540.420.420.380.440.440.420.450.390.380.39
ᚠ.12490.410.450.410.390.440.430.430.450.390.380.45
ᚠ.13450.380.420.420.430.420.400.430.430.390.400.410.38
ᚠ.14420.410.450.460.460.390.480.420.480.420.410.400.390.40
ᚠ.15390.400.450.440.440.450.410.450.470.410.420.460.420.420.39
ᚠ.16370.370.410.420.420.440.450.470.480.390.390.410.520.460.400.46
ᚠ.17340.370.420.470.400.450.420.490.420.490.480.460.470.430.390.360.42
ᚠ.18330.470.390.430.500.460.450.430.430.380.420.480.410.460.450.440.400.43
ᛠ.41450.350.340.31
ᛠ.51160.360.350.350.33
ᛠ.6970.390.370.340.360.34
ᛠ.7830.370.370.350.390.430.34
ᛠ.8720.370.410.420.390.400.390.37
ᛠ.9640.350.390.380.380.360.360.390.36
ᛠ.10580.400.390.420.410.410.410.400.380.43
ᛠ.11520.400.410.390.440.440.380.440.390.440.38
ᛠ.12480.460.400.410.420.400.480.410.440.390.430.47
ᛠ.13440.380.440.400.410.410.410.420.430.430.430.400.40
ᛠ.14410.420.440.400.410.420.430.450.460.450.400.400.410.43
ᛠ.15380.430.450.380.430.450.410.400.460.430.450.490.410.450.42
ᛠ.16360.430.410.450.410.490.420.420.460.460.420.470.440.430.500.45
ᛠ.17340.440.400.510.420.450.440.530.420.470.490.490.450.440.450.420.45
ᛠ.18320.460.420.470.530.460.420.460.450.420.440.470.430.500.440.470.460.44