{
  "id": "2024/578",
  "url": "https://opencryptology.org/2024/578",
  "original_url": "https://eprint.iacr.org/2024/578",
  "title": "Assessing the quality of Random Number Generators through Neural Networks",
  "authors": [
    "José Luis Crespo",
    "Javier González-Villa",
    "Jaime Gutierrez",
    "Angel Valle"
  ],
  "affiliations": null,
  "abstract": "In this paper we address the use of Neural Networks (NN) for the\nassessment of the quality and hence safety of several Random Number Generators (RNGs), focusing both on the vulnerability of classical Pseudo Random Number Generators (PRNGs), such as Linear Congruential Generators (LCGs) and the RC4 algorithm, and extending our analysis to non-conventional data sources, such as Quantum Random Number Generators (QRNGs) based on Vertical-Cavity Surface-\nEmitting Laser (VCSEL). Among the results found, we identified a sort of classification of generators under different degrees of susceptibility, underlining the fundamental role of design decisions in enhancing the safety of PRNGs. The influence of network architecture design and associated hyper-parameters variations was also explored, highlighting the effectiveness of longer sequence lengths and convolutional neural\nnetworks in enhancing the discrimination of PRNGs against other RNGs. Moreover, in the prediction domain, the proposed model is able to deftly distinguish the raw data of our QRNG from truly random ones, exhibiting a cross-entropy error of 0.52 on the test data-set used. All these findings reveal the potential of NNs to enhance the security of RNGs, while highlighting the robustness of certain QRNGs, in particular the VCSEL-based variants, for high-quality random number generation applications.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Assessing the quality of Random Number Generators through Neural Networks” by José Luis Crespo, Javier González-Villa, Jaime Gutierrez, Angel Valle, Cryptology ePrint Archive, Paper 2024/578, https://eprint.iacr.org/2024/578. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-04-15T18:55:26Z",
    "updated": "2024-04-15T18:55:26Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/578.pdf",
    "sha256": "c7458bbfc99661d0171f2d40f4ef65fabaf5f490101b940b3f8a0efe1ff36061",
    "size": 724757,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/578/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/578.pdf",
      "size": 724757,
      "sha256": "c7458bbfc99661d0171f2d40f4ef65fabaf5f490101b940b3f8a0efe1ff36061",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/578.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 724757
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240422111229id_/https://eprint.iacr.org/2024/578.pdf",
      "captured_at": "2024-04-22T11:12:29Z",
      "size": 664263
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/578,\n      author = {José Luis Crespo and Javier González-Villa and Jaime Gutierrez and Angel Valle},\n      title = {Assessing the quality of Random Number Generators through Neural Networks},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/578},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/578}\n}"
}
