Design of a cryptographically secure pseudo random number generator with grammatical evolution

Conor Ryan, Meghana Kshirsagar, Gauri Vaidya, Andrew Cunningham, R. Sivaraman

Research output: Contribution to journalArticlepeer-review

Abstract

This work investigates the potential for using Grammatical Evolution (GE) to generate an initial seed for the construction of a pseudo-random number generator (PRNG) and cryptographically secure (CS) PRNG. We demonstrate the suitability of GE as an entropy source and show that the initial seeds exhibit an average entropy value of 7.940560934 for 8-bit entropy, which is close to the ideal value of 8. We then construct two random number generators, GE-PRNG and GE-CSPRNG, both of which employ these initial seeds. We use Monte Carlo simulations to establish the efficacy of the GE-PRNG using an experimental setup designed to estimate the value for pi, in which 100,000,000 random numbers were generated by our system. This returned the value of pi of 3.146564000, which is precise up to six decimal digits for the actual value of pi. We propose a new approach called control_flow_incrementor to generate cryptographically secure random numbers. The random numbers generated with CSPRNG meet the prescribed National Institute of Standards and Technology SP800-22 and the Diehard statistical test requirements. We also present a computational performance analysis of GE-CSPRNG demonstrating its potential to be used in industrial applications.

Original languageEnglish
Article number8602
Pages (from-to)8602
JournalScientific Reports
Volume12
Issue number1
DOIs
Publication statusPublished - Dec 2022

Fingerprint

Dive into the research topics of 'Design of a cryptographically secure pseudo random number generator with grammatical evolution'. Together they form a unique fingerprint.

Cite this