Statistical Tests for Randomness on a Typewritten Key Stream Extracted With Computer Vision and Classified With a Convolutional Neural Network

dc.contributor.authorFoxon, Floe
dc.contributor.editorDesenclos, Camille
dc.contributor.editorPierrot, Cécile
dc.date.accessioned2026-06-15T10:10:22Z
dc.date.available2026-06-15T10:10:22Z
dc.date.issued2026-06-22
dc.description.abstractFor 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.issn1736- 6305
dc.identifier.urihttps://hdl.handle.net/10062/122067
dc.language.isoen
dc.publisherTartu University Library
dc.relation.ispartofseriesNEALT Proceedings Series Number 61
dc.rightsAttribution-NonCommercial-NoDerivatives 4.0 International
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/
dc.subjectWorld War Two
dc.subjectMachine Learning
dc.subjectComputer Vision
dc.subjectConvolutional Neural Network
dc.titleStatistical Tests for Randomness on a Typewritten Key Stream Extracted With Computer Vision and Classified With a Convolutional Neural Network
dc.typeArticle

Failid

Originaal pakett

Nüüd näidatakse 1 - 1 1
Laen...
Pisipilt
Nimi:
HistoCrypt_2026_paper_7.pdf
Suurus:
3.85 MB
Formaat:
Adobe Portable Document Format