A SELF-REFRESHING TRUE-RANDOM NUMBER GENERATOR


Gabriel VASILESCU1, Maria DIMA2, Costică BEJINARIU3, Augustin SEMENESCU4

Abstract. We report the design and test of a genuine random-number “expansion” routine, which draws upon a collection of 200,000 physically sourced atmospheric-noise values between 0 and 9,999, producing fresh numbers by merging entries sampled at arbitrary intervals, with offsets derived via a feedback shift-register mechanism using both the standard rand() function and entries from the pool itself, thereby generating non-cyclic outcomes with no identifiable period. To overcome the inherent limitation of a finite entropy pool, we introduce a dynamic self-refreshing mechanism that periodically replaces the oldest consumed values with newly acquired true-random batches-fetched automatically from the same atmospheric-noise source-while simultaneously re-seeding the offset generator with a hash of the incoming data, ensuring an infinite, continuously renewed entropy supply; validation through the DieHarder test suite confirms that the generator maintains its favorable randomness quality over arbitrarily long runs, with negligible performance overhead.

Keywords: true random number generator, atmospheric noise, dynamic refreshing

DOI 10.56082/annalsarscieng.2026.2.83

Read full article Download article

1Senior Researcher I, Habil. PhD, Eng., National Institute for Research and Development in Mine Safety and Protection to Explosion, Chief Laboratory of Explosives Materials and Pyrotechnic Articles – INCD INSEMEX of Petrosani, Petrosani, Romania (e-mail: dragos.vasilescu@insemex.ro).

2Doctoral School – University of Petrosani, Petrosani, Romania (e-mail: mstsds@proton.me).

3Professor, PhD, Eng., Materials Engineering and Industrial Safety Department, Faculty of Materials Science and Engineering, Vice Dean, Gheorghe Asachi Technical University of Iasi, Iasi, Romania (e-mail: costica.bejinariu@academic.tuiasi.ro).

4Professor, PhD, Eng. Mat. Ec.,National Science and Technology University Politehnica Bucharest, Bucharest, Romania, Member of Academy of Romanian Scientists; (e-mail: augustin.semenescu@upb.ro).

PUBLISHED in

Annals Academy of Romanian Scientists Series on Engineering Sciences

Volume 18 no 2, 2026


ISSN PRINT 2066 – 6950

ISSN ONLINE 2066 – 8570