Page Analysis: p0-2

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.25419576
21.101.050.320.27209288
31.141.120.370.35139192
41.131.090.360.32104144
51.161.120.390.3483115
61.161.130.390.366996
71.271.130.490.365982
81.171.110.390.335272
91.251.200.470.434664
101.221.130.440.364157
111.291.140.520.373852
121.291.260.520.483448
131.231.190.450.413244
141.341.200.570.432941
151.291.260.500.482738
161.261.110.440.332636
171.381.190.560.422433
181.371.240.500.462332
191.271.200.490.432230
201.311.240.490.462028
211.361.270.560.481927
221.351.200.510.431926
231.371.220.520.421825
241.381.280.480.491724
251.371.230.470.421623
261.341.180.410.391622
271.331.310.450.461521
281.461.310.470.491420
291.491.430.460.481419
301.321.290.450.451319
311.411.280.390.421318
321.401.160.410.371318
best29291428

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.02101.131.201.221.281.361.481.531.421.431.521.571.511.57
ᚠ.2.12091.121.211.231.301.311.481.591.411.461.521.631.501.46
ᚠ.3.01401.281.351.551.581.621.601.741.89
ᚠ.3.11401.341.371.561.611.591.711.791.87
ᚠ.3.21391.291.351.561.571.581.691.771.87
ᛠ.2.02881.061.111.181.161.221.301.301.171.311.341.311.401.32
ᛠ.2.12881.081.141.251.191.211.441.291.201.401.291.341.521.31
ᛠ.3.01921.161.211.201.391.461.281.491.47
ᛠ.3.11921.231.271.341.461.331.441.431.59
ᛠ.3.21921.241.301.411.451.411.621.451.54
Interrupt first, then mod (IoC-norm):
runes12345678910111213
ᚠ.2.02100.360.420.440.510.590.600.690.540.580.660.660.610.55
ᚠ.2.12090.350.440.460.520.540.610.750.570.590.650.700.610.57
ᚠ.3.01400.510.570.740.810.760.700.730.80
ᚠ.3.11400.560.600.740.840.730.780.750.82
ᚠ.3.21390.520.570.710.790.750.760.710.82
ᛠ.2.02880.280.340.410.390.450.520.490.400.530.560.520.580.49
ᛠ.2.12880.310.370.470.420.440.630.520.430.610.510.560.580.52
ᛠ.3.01920.390.430.430.600.660.510.550.63
ᛠ.3.11920.460.500.570.690.530.630.640.71
ᛠ.3.21920.470.530.640.660.630.760.650.63
Mod first, then interrupt (IoC-high):
runes23456789101112131415161718
ᚠ.2.03651.081.081.121.131.121.151.181.171.211.131.161.231.281.191.261.281.28
ᚠ.2.13641.061.111.141.151.181.161.191.201.191.211.221.241.211.221.371.351.22
ᚠ.3.02431.021.141.061.171.211.101.171.191.081.211.181.321.211.231.311.311.26
ᚠ.3.12431.031.061.101.101.081.151.051.111.171.171.141.241.291.101.151.271.12
ᚠ.3.22431.141.271.301.271.341.141.311.331.271.261.451.391.191.401.481.441.52
ᛠ.2.03651.051.081.131.121.111.131.141.141.181.121.181.221.221.221.261.251.24
ᛠ.2.13641.051.131.091.131.221.111.171.201.111.211.231.301.171.341.291.331.24
ᛠ.3.02431.041.121.081.211.171.191.201.381.171.291.241.311.201.361.311.391.42
ᛠ.3.12431.011.061.141.011.091.101.031.151.041.091.171.051.141.011.071.121.22
ᛠ.3.22431.111.241.211.201.171.151.261.311.161.301.291.391.221.241.421.401.52
Mod first, then interrupt (IoC-norm):
runes23456789101112131415161718
ᚠ.2.03650.310.300.350.350.350.380.410.390.440.360.370.420.500.410.480.440.45
ᚠ.2.13640.290.340.360.380.410.390.410.430.420.430.430.450.420.450.540.550.43
ᚠ.3.02430.240.370.290.390.430.330.370.400.300.440.350.400.340.360.510.410.40
ᚠ.3.12430.260.290.320.330.310.380.280.330.350.390.330.400.420.250.330.380.28
ᚠ.3.22430.370.490.520.500.570.370.480.550.500.470.550.520.380.460.560.550.60
ᛠ.2.03650.280.300.360.350.330.360.370.360.400.350.390.440.440.390.470.430.45
ᛠ.2.13640.280.350.310.360.440.340.400.390.340.430.460.510.400.480.500.410.46
ᛠ.3.02430.270.350.310.440.400.410.400.450.390.480.430.460.420.500.410.470.41
ᛠ.3.12430.240.290.360.230.320.330.260.380.270.290.340.250.250.240.280.110.25
ᛠ.3.22430.340.470.440.430.400.380.490.510.380.490.520.510.390.420.530.490.45

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
ᚠ.a4191.141.151.221.201.181.231.241.251.321.231.341.231.291.361.33
ᚠ.b4191.201.231.201.391.341.231.241.361.271.391.301.431.291.361.37
ᛠ.a5761.081.121.201.131.111.171.151.191.211.111.211.271.141.221.28
ᛠ.b5761.131.111.151.181.171.131.171.141.131.211.191.221.221.161.24
Mirror Pattern (IoC-norm):
runes456789101112131415161718
ᚠ.a4190.360.370.450.430.400.450.460.480.520.460.480.450.510.510.55
ᚠ.b4190.430.460.420.500.550.440.470.490.470.560.460.550.470.550.53
ᛠ.a5760.300.350.430.360.330.400.370.420.440.340.430.450.370.450.47
ᛠ.b5760.360.330.370.410.400.350.400.370.360.420.410.420.450.370.44
Shift Pattern (IoC-high):
runes1234567891011121314151617
ᚠ.41041.141.141.13
ᚠ.5831.151.211.221.17
ᚠ.6691.171.231.241.231.23
ᚠ.7591.201.241.231.171.231.20
ᚠ.8521.271.191.221.221.191.171.20
ᚠ.9461.241.231.231.201.201.231.281.16
ᚠ.10411.261.231.301.261.291.201.231.301.31
ᚠ.11381.211.301.341.241.241.231.251.311.241.26
ᚠ.12341.341.191.241.231.261.261.381.211.231.301.26
ᚠ.13321.351.321.231.271.311.281.231.211.261.311.281.33
ᚠ.14291.261.221.331.301.261.241.341.281.231.321.231.281.26
ᚠ.15271.341.291.291.291.331.311.281.321.371.191.291.301.271.22
ᚠ.16261.321.291.231.321.301.321.301.251.191.371.301.301.301.331.38
ᚠ.17241.261.311.391.291.311.301.281.391.271.301.251.381.241.281.281.30
ᚠ.18231.371.311.301.351.351.281.251.311.381.421.341.231.281.361.281.331.25
ᛠ.41441.101.071.11
ᛠ.51151.141.121.121.12
ᛠ.6961.141.131.191.121.17
ᛠ.7821.121.181.121.151.131.15
ᛠ.8721.161.101.201.121.111.141.15
ᛠ.9641.191.151.191.121.141.151.161.12
ᛠ.10571.161.171.161.161.171.141.141.191.16
ᛠ.11521.131.171.231.201.181.141.151.161.191.21
ᛠ.12481.191.171.221.181.171.151.191.131.161.141.15
ᛠ.13441.261.181.151.151.261.181.171.181.131.171.191.16
ᛠ.14411.141.231.261.211.231.161.161.151.151.191.191.151.17
ᛠ.15381.181.231.231.251.181.171.221.221.181.241.191.241.231.14
ᛠ.16361.191.151.181.201.221.251.161.181.211.161.161.241.151.201.20
ᛠ.17331.111.261.191.251.201.201.171.261.221.231.201.271.211.271.201.25
ᛠ.18321.231.221.251.181.241.221.221.211.311.181.241.241.181.241.181.231.21
Shift Pattern (IoC-norm):
runes1234567891011121314151617
ᚠ.41040.370.370.36
ᚠ.5830.380.430.450.40
ᚠ.6690.390.450.470.460.46
ᚠ.7590.420.470.450.390.460.43
ᚠ.8520.500.420.450.450.420.400.43
ᚠ.9460.460.460.460.430.430.460.510.38
ᚠ.10410.490.440.520.490.520.430.460.510.53
ᚠ.11380.440.510.550.470.470.460.480.510.470.48
ᚠ.12340.530.410.450.450.480.490.590.420.430.470.47
ᚠ.13320.490.540.460.490.530.510.450.430.490.540.500.52
ᚠ.14290.480.450.540.490.460.470.500.510.450.490.460.460.46
ᚠ.15270.540.490.510.510.510.520.500.480.550.410.480.510.480.43
ᚠ.16260.460.510.430.530.500.520.510.470.420.550.470.510.510.510.58
ᚠ.17240.440.500.570.460.460.520.470.570.500.480.460.570.450.450.480.49
ᚠ.18230.570.490.510.500.490.490.440.520.500.590.490.440.480.520.510.480.47
ᛠ.41440.330.300.33
ᛠ.51150.360.350.340.34
ᛠ.6960.360.360.420.350.40
ᛠ.7820.350.410.340.380.360.38
ᛠ.8720.390.330.430.350.340.360.37
ᛠ.9640.420.380.410.350.370.380.390.35
ᛠ.10570.390.400.380.390.400.360.370.410.38
ᛠ.11520.360.400.450.420.410.360.370.390.420.44
ᛠ.12480.420.390.450.410.390.380.410.360.390.360.38
ᛠ.13440.490.410.380.370.470.400.400.410.360.400.420.38
ᛠ.14410.360.450.480.430.460.380.390.380.380.420.410.380.39
ᛠ.15380.410.450.450.470.410.400.440.420.410.470.420.450.450.36
ᛠ.16360.420.370.410.430.450.470.390.390.420.390.380.460.370.420.42
ᛠ.17330.340.480.420.470.430.410.390.490.430.440.420.490.440.460.420.45
ᛠ.18320.460.430.470.400.460.450.440.430.520.390.460.470.410.450.400.460.43