Paper 2025/689

Neural network design options for RNG's verification

José Luis Crespo, University of Cantabria
Jaime Gutierrez, University of Cantabria
Angel Valle
Abstract

In this work, we explore neural network design options for discriminating Random Number Generators(RNG), as a complement to existing statistical test suites, being a continuation of a recent paper of the aothors. Specifically, we consider variations in architecture and data preprocessing. We test their impact on the network's ability to discriminate sequences from a low-quality RNG versus a high-quality one—that is, to discriminate between "optimal" sequence sets and those from the generator under test. When the network fails to distinguish them, the test is passed. For this test to be useful, the network must have real discrimination capabilities. We review several network design possibilities showing significant differences in the obtained results. The best option presented here is convolutional networks working on 5120-byte sequences.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
Neural networksQuantum random number generatorsPytorchStatistical test for random number
Contact author(s)
luis crespo @ unican es
jaime gutierrez @ unican es
valle @ ifca unican es
History
2025-04-16: approved
2025-04-16: received
See all versions
Short URL
https://ia.cr/2025/689
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/689,
      author = {José Luis Crespo and Jaime Gutierrez and Angel   Valle},
      title = {Neural network design options for {RNG}'s verification},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/689},
      year = {2025},
      url = {https://eprint.iacr.org/2025/689}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.