{"title":"Quality Random Number Generator","authors":"M. Dima, M.-T. Dima, S. Dima, M. Mihailescu","doi":"10.1134/S1547477125701043","DOIUrl":null,"url":null,"abstract":"<p>Numerous applications in physics and technology rely on random number generation: for Monte Carlo purposes, key distribution, and other tasks. For these elaborate hash functions with carefully studied and tuned algorithms have been developed, giving pseudo-random numbers. Depending on the complexity and quality of their output, they vary from very good quality (such as RANLUX with a 10<sup>171</sup> repetition period), to fast algorithms, however of lesser period (such as the Mersenne Twister, a factor of ca. ×40 faster). We here present the implementation of a true-random number “multiplier” algorithm. The algorithm relies on a finite set of true-random numbers from a physical source (in our case 0.2 M atmospheric noise random numbers in the range of 0–9999). The algorithm produces new numbers by combining pairs of 2 random numbers from the list, situated at random distance apart. The random offset is calculated by a shift register structure involving both the local rand() generator, and numbers from the list itself, whereby it produces “non-repetitive repetitions”—i.e., our multiplier has no known period. The tests, performed with the DieHarder [1] test suite, show good quality.</p>","PeriodicalId":730,"journal":{"name":"Physics of Particles and Nuclei Letters","volume":"22 5","pages":"1036 - 1040"},"PeriodicalIF":0.4000,"publicationDate":"2025-10-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Physics of Particles and Nuclei Letters","FirstCategoryId":"1085","ListUrlMain":"https://link.springer.com/article/10.1134/S1547477125701043","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"PHYSICS, PARTICLES & FIELDS","Score":null,"Total":0}
引用次数: 0
Abstract
Numerous applications in physics and technology rely on random number generation: for Monte Carlo purposes, key distribution, and other tasks. For these elaborate hash functions with carefully studied and tuned algorithms have been developed, giving pseudo-random numbers. Depending on the complexity and quality of their output, they vary from very good quality (such as RANLUX with a 10171 repetition period), to fast algorithms, however of lesser period (such as the Mersenne Twister, a factor of ca. ×40 faster). We here present the implementation of a true-random number “multiplier” algorithm. The algorithm relies on a finite set of true-random numbers from a physical source (in our case 0.2 M atmospheric noise random numbers in the range of 0–9999). The algorithm produces new numbers by combining pairs of 2 random numbers from the list, situated at random distance apart. The random offset is calculated by a shift register structure involving both the local rand() generator, and numbers from the list itself, whereby it produces “non-repetitive repetitions”—i.e., our multiplier has no known period. The tests, performed with the DieHarder [1] test suite, show good quality.
期刊介绍:
The journal Physics of Particles and Nuclei Letters, brief name Particles and Nuclei Letters, publishes the articles with results of the original theoretical, experimental, scientific-technical, methodological and applied research. Subject matter of articles covers: theoretical physics, elementary particle physics, relativistic nuclear physics, nuclear physics and related problems in other branches of physics, neutron physics, condensed matter physics, physics and engineering at low temperatures, physics and engineering of accelerators, physical experimental instruments and methods, physical computation experiments, applied research in these branches of physics and radiology, ecology and nuclear medicine.