Page Analysis: p54-55

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.011.020.240.24308308
21.041.060.260.29154154
31.071.120.300.35102102
41.101.070.330.307777
51.061.170.290.406161
61.101.150.330.375151
71.061.130.290.354444
81.251.190.480.423838
91.051.270.280.503434
101.091.130.320.363030
111.061.160.290.362828
121.131.210.350.422525
131.101.340.330.542323
141.101.150.310.362222
151.081.250.300.472020
161.491.400.490.521919
171.121.260.330.401818
181.171.370.380.461717
191.261.400.310.441616
201.101.180.270.321515
211.321.390.380.481414
221.211.300.330.331414
231.151.210.310.351313
241.351.410.410.441212
251.221.470.270.391212
261.251.510.270.451111
271.281.310.210.291111
281.171.200.220.251111
291.211.310.280.391010
301.251.390.210.291010
311.201.380.180.2799
321.581.570.300.4499
best32321613

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.01541.101.121.201.261.141.191.151.381.261.171.331.331.42
ᚠ.2.11541.101.121.191.301.101.231.231.631.151.221.271.431.49
ᚠ.3.01031.081.111.221.201.191.421.451.49
ᚠ.3.11031.141.151.341.231.281.491.451.55
ᚠ.3.21021.051.201.051.241.191.171.411.55
ᛠ.2.01541.101.151.201.261.211.271.231.461.591.301.451.431.63
ᛠ.2.11541.121.141.201.251.191.331.361.591.481.381.451.611.74
ᛠ.3.01031.221.311.431.521.401.521.631.80
ᛠ.3.11031.251.341.481.471.631.641.701.80
ᛠ.3.21021.141.311.361.371.531.541.631.69
Interrupt first, then mod (IoC-norm):
runes12345678910111213
ᚠ.2.01540.320.350.420.490.370.410.360.520.480.310.430.410.38
ᚠ.2.11540.320.350.420.530.330.460.450.520.320.370.490.420.46
ᚠ.3.01030.310.340.450.420.410.600.430.45
ᚠ.3.11030.360.370.570.460.500.650.410.62
ᚠ.3.21020.280.430.280.450.420.400.420.47
ᛠ.2.01540.330.380.430.480.430.480.430.630.600.380.460.500.56
ᛠ.2.11540.340.360.430.470.420.540.530.640.550.430.480.640.51
ᛠ.3.01030.440.530.660.660.590.610.680.71
ᛠ.3.11030.480.570.690.620.760.720.630.78
ᛠ.3.21020.370.530.580.570.650.590.730.56
Mod first, then interrupt (IoC-high):
runes23456789101112131415161718
ᚠ.2.01541.050.980.990.931.051.130.931.050.960.961.071.011.051.000.941.031.27
ᚠ.2.11541.031.131.121.221.231.041.331.331.371.011.241.421.371.281.331.161.60
ᚠ.3.01030.970.900.900.971.001.070.971.141.191.240.950.801.310.991.641.141.56
ᚠ.3.11030.991.151.231.280.961.231.251.011.221.321.250.961.451.751.360.910.59
ᚠ.3.21021.081.141.021.141.121.261.171.041.461.071.051.831.751.580.980.910.91
ᛠ.2.01541.081.071.241.041.191.211.311.201.081.141.361.271.181.251.441.581.50
ᛠ.2.11541.041.011.161.121.191.071.191.041.280.931.341.421.281.361.301.021.50
ᛠ.3.01031.001.021.061.010.961.181.031.141.331.190.951.251.411.201.401.711.56
ᛠ.3.11031.101.261.271.411.221.411.531.351.481.461.401.571.851.791.831.251.18
ᛠ.3.21020.941.031.021.131.000.961.060.951.060.781.031.061.061.490.900.570.86
Mod first, then interrupt (IoC-norm):
runes23456789101112131415161718
ᚠ.2.01540.270.210.220.160.280.360.160.270.190.160.140.040.160.18
ᚠ.2.11540.250.350.340.440.410.270.550.450.450.240.340.410.410.340.350.160.13
ᚠ.3.01030.200.120.130.190.220.290.200.180.200.440.090.14
ᚠ.3.11030.220.380.460.500.190.410.430.140.380.250.250.23
ᚠ.3.21020.310.360.250.370.350.100.360.170.100.180.170.170.110.02
ᛠ.2.01540.310.300.460.270.420.430.460.430.280.370.380.340.260.260.320.220.33
ᛠ.2.11540.260.240.390.340.360.300.420.270.410.130.520.400.410.330.260.100.09
ᛠ.3.01030.230.240.290.200.190.320.240.200.250.220.010.060.090.100.190.16
ᛠ.3.11030.320.480.490.510.440.600.430.340.420.250.250.300.180.390.31
ᛠ.3.21020.170.260.250.350.220.100.280.170.090.00

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
ᚠ.a3081.131.041.071.101.261.131.111.121.171.101.171.141.311.101.15
ᚠ.b3081.041.161.111.081.231.311.121.141.171.161.261.191.181.331.10
ᛠ.a3081.121.081.151.161.261.241.101.171.271.321.181.231.291.311.28
ᛠ.b3081.161.201.191.251.241.281.361.251.221.351.331.271.311.331.28
Mirror Pattern (IoC-norm):
runes456789101112131415161718
ᚠ.a3080.360.270.300.330.490.360.340.330.370.330.350.350.500.320.30
ᚠ.b3080.270.360.340.310.330.490.320.370.400.360.340.370.370.400.25
ᛠ.a3080.350.310.380.380.480.470.330.400.460.540.390.420.450.480.43
ᛠ.b3080.390.410.400.460.380.430.460.430.420.510.560.420.430.430.38
Shift Pattern (IoC-high):
runes1234567891011121314151617
ᚠ.4771.101.081.11
ᚠ.5611.101.091.111.07
ᚠ.6511.081.071.091.071.09
ᚠ.7441.101.151.111.101.071.05
ᚠ.8381.081.241.091.221.181.161.19
ᚠ.9341.101.101.261.211.151.081.091.02
ᚠ.10301.131.091.131.111.101.201.111.121.09
ᚠ.11281.041.041.211.281.051.161.011.131.111.13
ᚠ.12251.081.101.281.151.121.101.381.251.121.121.23
ᚠ.13231.091.101.101.081.241.131.181.141.151.331.141.11
ᚠ.14221.261.211.151.211.151.111.101.151.321.061.271.131.13
ᚠ.15201.091.201.081.261.131.061.241.151.201.261.171.111.141.33
ᚠ.16191.111.161.121.141.061.181.091.300.991.131.151.191.231.221.18
ᚠ.17181.351.101.161.231.151.271.271.261.141.161.181.161.221.131.261.15
ᚠ.18171.171.201.081.201.171.241.111.301.171.101.221.301.231.121.331.221.23
ᛠ.4771.121.111.14
ᛠ.5611.161.151.141.20
ᛠ.6511.141.141.191.161.17
ᛠ.7441.121.151.231.171.141.13
ᛠ.8381.151.261.181.201.281.191.24
ᛠ.9341.171.211.231.261.251.151.161.14
ᛠ.10301.221.281.191.201.231.171.231.211.14
ᛠ.11281.101.261.261.211.201.371.311.251.131.19
ᛠ.12251.171.181.281.241.201.231.371.261.301.221.28
ᛠ.13231.241.131.241.191.311.191.411.201.191.321.231.21
ᛠ.14221.341.161.321.311.251.291.191.261.301.221.251.241.23
ᛠ.15201.221.211.171.331.231.251.311.191.241.311.281.311.311.38
ᛠ.16191.291.231.191.351.151.271.201.251.281.281.311.281.271.301.26
ᛠ.17181.371.231.231.231.261.281.271.301.251.281.171.271.391.311.251.37
ᛠ.18171.241.171.381.341.251.401.201.271.421.291.221.261.301.211.411.331.34
Shift Pattern (IoC-norm):
runes1234567891011121314151617
ᚠ.4770.330.300.33
ᚠ.5610.320.310.340.29
ᚠ.6510.310.300.310.290.32
ᚠ.7440.330.380.330.330.290.27
ᚠ.8380.300.470.320.450.410.380.41
ᚠ.9340.320.330.460.370.370.310.310.25
ᚠ.10300.350.280.360.340.320.420.340.340.31
ᚠ.11280.260.260.380.500.270.390.240.350.340.35
ᚠ.12250.290.320.510.350.320.320.550.440.340.350.43
ᚠ.13230.320.320.330.280.460.360.400.330.310.550.350.34
ᚠ.14220.400.340.350.390.320.340.330.370.400.280.500.360.35
ᚠ.15200.300.410.290.420.340.270.380.370.430.440.370.330.370.52
ᚠ.16190.320.360.330.350.250.380.320.410.220.270.330.380.400.350.35
ᚠ.17180.460.330.370.360.320.430.390.390.290.270.350.320.340.340.340.38
ᚠ.18170.340.350.290.320.330.450.340.330.330.330.430.380.360.300.390.360.35
ᛠ.4770.350.330.37
ᛠ.5610.380.370.360.43
ᛠ.6510.370.370.410.390.39
ᛠ.7440.350.380.460.400.360.36
ᛠ.8380.370.480.360.420.440.420.47
ᛠ.9340.400.440.420.490.470.370.390.36
ᛠ.10300.440.480.380.420.430.390.460.430.35
ᛠ.11280.320.490.490.430.410.540.500.460.350.41
ᛠ.12250.390.370.470.440.410.440.590.460.450.380.47
ᛠ.13230.430.350.450.420.450.420.470.380.420.530.420.37
ᛠ.14220.550.380.470.500.430.440.400.410.470.440.460.450.42
ᛠ.15200.430.430.370.510.450.430.450.370.440.510.510.400.460.49
ᛠ.16190.480.390.390.500.360.420.420.450.450.450.480.460.390.460.39
ᛠ.17180.490.410.420.390.450.400.450.420.430.410.360.400.500.430.420.50
ᛠ.18170.390.340.400.430.430.450.410.450.440.450.390.470.410.400.480.370.44