{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,13]],"date-time":"2026-03-13T15:38:05Z","timestamp":1773416285554,"version":"3.50.1"},"reference-count":31,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2025,10,7]],"date-time":"2025-10-07T00:00:00Z","timestamp":1759795200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Comput. Sci."],"abstract":"<jats:p>Generating random bit streams is required in various applications, most notably in cyber-security, which is essential for Internet of Everything applications to enable secure communication between interconnected devices. Ensuring high-quality and robust randomness is crucial to mitigate risks associated with predictability and system compromise. True random numbers provide the highest levels of unpredictability. However, known systematic biases that can emerge from physical imperfections, environmental variations, and device aging in the processes exploited for random number generation must be carefully monitored. This article reports the implementation and characterization of an online procedure for the detection of anomalies in a true random bit stream. It is based on the NIST adaptive proportion and repetition count tests, complemented by statistical analysis relying on the Monobit and RUNS tests. The procedure is implemented in firmware through dedicated hardware accelerators processing configurable-length sequences, with automated anomaly detection triggering alerts after three consecutive threshold violations. The implementation is performed simultaneously with bit stream generation and also provides an estimate of the entropy of the source. A statistical analysis of the results from the NIST procedure to evaluate the symbols of the bit-stream as independently and identically distributed is also performed, leading to a computation of the minimum entropy of the source that cross-checks the previously mentioned estimate. The experimental validation of the approach is performed up the bit streams generated by a quantum, silicon-based entropy source.<\/jats:p>","DOI":"10.3389\/fcomp.2025.1642566","type":"journal-article","created":{"date-parts":[[2025,10,7]],"date-time":"2025-10-07T05:36:05Z","timestamp":1759815365000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Entropy measurement and online quality control of bit streams by a true random bit generator"],"prefix":"10.3389","volume":"7","author":[{"given":"Cesare","family":"Gerolimetto Fabrello","sequence":"first","affiliation":[{"name":"Dipartimento di Scienze e Alta Tecnologia, Universit\u00e0 degli Studi dell'Insubria","place":["Como, Italy"]},{"name":"Random Power s.r.l.","place":["Milano, Italy"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Valeria","family":"Rossi","sequence":"additional","affiliation":[{"name":"Dipartimento di Scienze e Alta Tecnologia, Universit\u00e0 degli Studi dell'Insubria","place":["Como, Italy"]},{"name":"Random Power s.r.l.","place":["Milano, Italy"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Kamil","family":"Witek","sequence":"additional","affiliation":[{"name":"Dipartimento di Scienze e Alta Tecnologia, Universit\u00e0 degli Studi dell'Insubria","place":["Como, Italy"]},{"name":"Random Power s.r.l.","place":["Milano, Italy"]},{"name":"AGH University of Science and Technology","place":["Krak\u00f3w, Poland"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Alberto","family":"Trombetta","sequence":"additional","affiliation":[{"name":"Dipartimento di Scienze e Alta Tecnologia, Universit\u00e0 degli Studi dell'Insubria","place":["Como, Italy"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Mateusz","family":"Baszczyk","sequence":"additional","affiliation":[{"name":"Random Power s.r.l.","place":["Milano, Italy"]},{"name":"AGH University of Science and Technology","place":["Krak\u00f3w, Poland"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Piotr","family":"Dorosz","sequence":"additional","affiliation":[{"name":"AGH University of Science and Technology","place":["Krak\u00f3w, Poland"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Wojciech","family":"Kucewicz","sequence":"additional","affiliation":[{"name":"AGH University of Science and Technology","place":["Krak\u00f3w, Poland"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Massimo","family":"Caccia","sequence":"additional","affiliation":[{"name":"Dipartimento di Scienze e Alta Tecnologia, Universit\u00e0 degli Studi dell'Insubria","place":["Como, Italy"]},{"name":"Random Power s.r.l.","place":["Milano, Italy"]}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1965","published-online":{"date-parts":[[2025,10,7]]},"reference":[{"key":"B1","doi-asserted-by":"crossref","DOI":"10.6028\/NIST.SP.800-90Ar1","volume-title":"Recommendation for Random Number Generation Using Deterministic Random Bit Generators","author":"Barker","year":"2015"},{"key":"B2","volume-title":"Recommendation for Random Bit Generator (RBG) Constructions","author":"Barker","year":"2012"},{"key":"B3","first-page":"283","volume-title":"Distribution-Free Statistical Tests","author":"Bradley","year":"1968"},{"key":"B4","doi-asserted-by":"publisher","first-page":"164480","DOI":"10.1016\/j.nima.2020.164480","article-title":"In-silico generation of random bit streams","volume":"980","author":"Caccia","year":"2020","journal-title":"Nucl. Instrum. Methods Phys. Res. A"},{"key":"B6","unstructured":"\u201cReview of particle physics, 2016-2017,\u201d\n          \n          \n            \n              Cowan\n              G.\n            \n          \n          The Monte Carlo Techniques\n          \n          2016"},{"key":"B7","unstructured":"[DSA 1571-1] New Openssl Packages Fix Predictable Random Number Generator\n          \n          2008"},{"key":"B8","volume-title":"Foundational Cybersecurity Activities for IOT Product Manufacturers","author":"Fagan","year":"2025"},{"key":"B9","doi-asserted-by":"publisher","first-page":"163685","DOI":"10.1109\/ACCESS.2020.3022098","article-title":"Testing randomness using artificial neural network","volume":"8","author":"Feng","year":"2020","journal-title":"IEEE Access"},{"key":"B10","author":"Figotin","year":"2004","journal-title":"Random Number Generator Based on the Spontaneous Alpha-Decay"},{"key":"B11","doi-asserted-by":"publisher","first-page":"1053","DOI":"10.3390\/e26121053","article-title":"Statistical testing of random number generators and their improvement using randomness extraction","volume":"26","author":"Foreman","year":"2024","journal-title":"Entropy"},{"key":"B12","unstructured":"Fox\n              B.\n            \n          \n          \n          2021"},{"key":"B13","doi-asserted-by":"publisher","first-page":"4964","DOI":"10.1109\/TCSII.2024.3421323","article-title":"A high-speed and low-power dsp-based trng for fpga implementations","volume":"71","author":"Frustaci","year":"2024","journal-title":"IEEE Trans. Circuits Syst. II: Express Briefs"},{"key":"B14","doi-asserted-by":"publisher","first-page":"64","DOI":"10.1109\/MSP.2006.49","article-title":"Randomness in cryptography","volume":"4","author":"Gennaro","year":"2006","journal-title":"Secur. Privacy IEEE"},{"key":"B5","doi-asserted-by":"crossref","first-page":"897","DOI":"10.1109\/CSR61664.2024.10679431","article-title":"\u201cOn-line anomaly detection and qualification of random bit streams,\u201d","volume-title":"2024 IEEE International Conference on Cyber Security and Resilience (CSR)","author":"Gerolimetto Fabrello","year":"2024"},{"key":"B15","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1109\/ISNCC62547.2024.10758985","article-title":"\u201cTransformer models as an efficient replacement for statistical test suites to evaluate the quality of random numbers,\u201d","volume-title":"2024 International Symposium on Networks, Computers and Communications (ISNCC)","author":"Goel","year":"2024"},{"key":"B16","doi-asserted-by":"publisher","first-page":"3123","DOI":"10.1063\/1.1702936","article-title":"Mechanism contributing to the noise pulse rate of avalanche diodes","volume":"36","author":"Haitz","year":"1965","journal-title":"J. Appl. Phys"},{"key":"B17","doi-asserted-by":"publisher","first-page":"015004","DOI":"10.1103\/RevModPhys.89.015004","article-title":"Quantum random number generators","volume":"89","author":"Herrero-Collantes","year":"2017","journal-title":"Rev. Mod. Phys"},{"key":"B18","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/1268776.1268777","article-title":"Testu01: a C library for empirical testing of random number generators","volume":"22","author":"L'Ecuyer","year":"2007","journal-title":"ACM Trans. Math. Softw"},{"key":"B19","doi-asserted-by":"publisher","first-page":"2754","DOI":"10.1109\/TCSI.2025.3555325","article-title":"Ultra-high efficiency trng ip based on mesh topology of coupled-xor","volume":"72","author":"Lu","year":"2025","journal-title":"IEEE Trans. Circuits Syst. I: Regul. Pap"},{"key":"B20","doi-asserted-by":"publisher","first-page":"877","DOI":"10.1103\/PhysRev.94.877","article-title":"Avalanche breakdown in silicon","volume":"94","author":"McKay","year":"1954","journal-title":"Phys. Rev"},{"key":"B21","doi-asserted-by":"publisher","first-page":"1678","DOI":"10.3390\/s25061678","article-title":"A high-entropy true random number generator with parameterizable architecture on fpga","volume":"25","author":"Piscopo","year":"2025","journal-title":"Sensors"},{"key":"B22","volume-title":"A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications","author":"Rukhin","year":"2001"},{"key":"B23","doi-asserted-by":"publisher","first-page":"612","DOI":"10.1103\/PhysRev.110.612","article-title":"Breakdown in silicon","volume":"110","author":"Senitzki","year":"1958","journal-title":"Phys. Rev"},{"key":"B24","doi-asserted-by":"publisher","first-page":"103365","DOI":"10.1016\/j.jisa.2022.103365","article-title":"Classification of random number generator applications in IOT: a comprehensive taxonomy","volume":"71","author":"Seyhan","year":"2022","journal-title":"J. Inf. Secur. Appl"},{"key":"B25","doi-asserted-by":"crossref","DOI":"10.6028\/NIST.IR.6483","volume-title":"Randomness Testing of the Advanced Encryption Standard Finalist Candidates","author":"Soto","year":"2000"},{"key":"B26","doi-asserted-by":"publisher","first-page":"92","DOI":"10.5220\/0006425100920103","article-title":"\u201cThe efficient randomness testing using boolean functions,\u201d","author":"S\u00fds","year":"2017","journal-title":"Proceedings of the 14th International Joint Conference on e-Business and Telecommunications (ICETE 2017)"},{"key":"B27","doi-asserted-by":"crossref","DOI":"10.6028\/NIST.SP.800-90B","volume-title":"Recommendation for the Entropy Sources Used for Random Bit Generation.","author":"Turan","year":"2018"},{"key":"B28","doi-asserted-by":"publisher","first-page":"02305","DOI":"10.1016\/j.vlsi.2024.102305","article-title":"Lightweight high-throughput true random number generator via state-switchable ring oscillators","volume":"100","author":"Wu","year":"2025","journal-title":"J. Syst. Archit"},{"key":"B29","doi-asserted-by":"publisher","first-page":"15","DOI":"10.1145\/1644893.1644896","article-title":"\u201cWhen private keys are public: results from the 2008 debian openssl vulnerability,\u201d","author":"Yilek","year":"2009","journal-title":"Proceedings of the 9th ACM SIGCOMM Internet Measurement Conference, IMC 2009, Chicago, Illinois, USA, November 4-6, 2009"},{"key":"B30","doi-asserted-by":"publisher","first-page":"014008","DOI":"10.1103\/k3c9-ngt1","article-title":"Practical attack on a quantum random number generator via classical fluctuations","volume":"24","author":"Zhang","year":"2025","journal-title":"Phys. Rev. Appl"},{"key":"B31","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2502.01066","article-title":"Dh-trng: dynamic hybrid true random number generator for ultra-high throughput and energy efficiency","author":"Zhang","year":"2025","journal-title":"arXiv [preprint"}],"container-title":["Frontiers in Computer Science"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fcomp.2025.1642566\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,3,13]],"date-time":"2026-03-13T12:27:30Z","timestamp":1773404850000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fcomp.2025.1642566\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,7]]},"references-count":31,"alternative-id":["10.3389\/fcomp.2025.1642566"],"URL":"https:\/\/doi.org\/10.3389\/fcomp.2025.1642566","relation":{},"ISSN":["2624-9898"],"issn-type":[{"value":"2624-9898","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,7]]},"article-number":"1642566"}}