Statistical Tests for Randomness on a Typewritten Key Stream Extracted With Computer Vision and Classified With a Convolutional Neural Network
| dc.contributor.author | Foxon, Floe | |
| dc.contributor.editor | Desenclos, Camille | |
| dc.contributor.editor | Pierrot, Cécile | |
| dc.date.accessioned | 2026-06-15T10:10:22Z | |
| dc.date.available | 2026-06-15T10:10:22Z | |
| dc.date.issued | 2026-06-22 | |
| dc.description.abstract | For a key stream to be cryptographically secure, it must be sufficiently random (i.e., unpredictable). This study tested the randomness of a set of typewritten, WW2-era German diplomatic key stream tables. Character objects were extracted from images of the tables using computer vision, and a bespoke convolutional neural network (convnet) was trained to classify these objects as digits (from 0–9). The convnet had a mean cross-validated testing balanced accuracy of 93.7% (standard deviation: 0.7%). N = 74,979 digits were extracted and classified from the images. Randomness was tested with the arithmetic mean, chi-squared, runs, and Monte Carlo pi tests; the key stream failed all four tests with 95% confidence. One digit appeared to be over-represented, and two others under-represented in the tables. Analysis suggests that the underrepresented digits may be a simple artefact of computer vision error/bias, but the overrepresented digit did not appear to have resulted from computer vision and/or classification error/bias. Reference streams generated with the Mersenne Twister and Linux OS entropy passed all four tests. WW2-era German diplomatic key stream tables may have lacked randomness. The extent to which this could potentially be exploited by cryptanalysts is unknown. | |
| dc.identifier.issn | 1736- 6305 | |
| dc.identifier.uri | https://hdl.handle.net/10062/122067 | |
| dc.language.iso | en | |
| dc.publisher | Tartu University Library | |
| dc.relation.ispartofseries | NEALT Proceedings Series Number 61 | |
| dc.rights | Attribution-NonCommercial-NoDerivatives 4.0 International | |
| dc.rights.uri | https://creativecommons.org/licenses/by/4.0/ | |
| dc.subject | World War Two | |
| dc.subject | Machine Learning | |
| dc.subject | Computer Vision | |
| dc.subject | Convolutional Neural Network | |
| dc.title | Statistical Tests for Randomness on a Typewritten Key Stream Extracted With Computer Vision and Classified With a Convolutional Neural Network | |
| dc.type | Article |
Failid
Originaal pakett
1 - 1 1
Laen...
- Nimi:
- HistoCrypt_2026_paper_7.pdf
- Suurus:
- 3.85 MB
- Formaat:
- Adobe Portable Document Format