As true random numbers are essential for many applications, high-quality Random Number Generators (RNGs) are highly demanded. Several different statistical test suites have been developed to evaluate the quality of RNGs. However, some programming skills are required to work with these statistical tests as they are not available as self-contained software and often are without a Graphical User Interface (GUI). In this work, we have developed PiRATe (Pi Randomness Assessment Test) an easy-to-use wrapper software for the assessment of RNGs using a comprehensive set of statistical tests, including DIEHARDER, NIST SP800-22, NIST SP800-90B, Entropy-Nonlinearity-Test (ENT), Borel Normality, and four Chaitin-Schwartz-Solovay-Strassen tests. We then used PiRATe to evaluate the quality of five different (Commercial and Experimental) Quantum Random Number Generators (QRNGs).
As true random numbers are essential for many applications, high-quality Random Number Generators (RNGs) are highly demanded. Several different statistical test suites have been developed to evaluate the quality of RNGs. However, some programming skills are required to work with these statistical tests as they are not available as self-contained software and often are without a Graphical User Interface (GUI). In this work, we have developed PiRATe (Pi Randomness Assessment Test) an easy-to-use wrapper software for the assessment of RNGs using a comprehensive set of statistical tests, including DIEHARDER, NIST SP800-22, NIST SP800-90B, Entropy-Nonlinearity-Test (ENT), Borel Normality, and four Chaitin-Schwartz-Solovay-Strassen tests. We then used PiRATe to evaluate the quality of five different (Commercial and Experimental) Quantum Random Number Generators (QRNGs).
Random Number Generators (RNGs) are used in various applications, including cryptography, scientific simulations, gaming, and virtual reality. The quality of these random numbers is crucial, especially for computational approaches that rely on unpredictability to produce accurate results. In this thesis, we perform a comprehensive assessment of the quality of a novel Quantum Random Number Generator (QRNG) based on single photon. QRNGs leverage quantum mechanical properties to produce truly random numbers. This ensures high entropy, unpredictability, and security, making QRNGs particularly useful in fields that require high-quality randomness.We evaluate the statistical properties of strings generated by our QRNG and then its practical application by comparing it to traditional Pseudo-Random Number Generators (PRNGs) in Monte Carlo Integration (MCI), a technique that estimates integrals using random sampling. In particular, we use two statistical randomness test suits, namely NIST and Dieharder, to assess the statistical properties of our QRNG. All tests within these tests were passed, confirming that the corresponding QRNG achieves true randomness with sufficient high entropy. Next, we use our QRNG-generated numbers to seed Monte Carlo Integration (MCI) and compare it against results obtained using classical PRNG. The QRNG-based MCI demonstrated more accurate and stable numerical estimates, showing lower error rates and improved convergence compared to PRNG-based simulations.These findings highlight the advantages of QRNGs in enhancing numerical accuracy and computational security. While QRNGs may have slower generation rates than PRNGs, their superior randomness quality allows for more reliable Monte Carlo-based simulations, suggesting that fewer samples may be needed to achieve the same level of accuracy compared to classical PRNGs. This research underscores the potential of QRNG-powered numerical methods, paving the way for their integration into more advanced applications, including scientific computing, financial modeling, and cryptographic security.
Topicality. Reliable random number generation is one of the key requirements for modern cryptographic systems and cybersecurity applications. Traditional pseudo-random number generators are based on deterministic algorithms and may exhibit limited entropy and predictability, which can negatively affect information security. The subject of study in the article is methods of quantum random number generation and approaches to evaluating the quality of generated random sequences. The purpose of the article is to analyze modern methods of quantum random number generation, develop a software tool for obtaining quantum random numbers based on the ANU Quantum Random Number Generator service, perform statistical testing of the generated sequences, and analyze the obtained results. The following results were obtained. Modern quantum random number generation systems were analyzed and compared. A software tool was implemented in Python for automatic retrieval of quantum random numbers through the ANU QRNG API. The generated binary sequences were evaluated using Frequency Test and Block Frequency Test from the NIST SP 800-22 statistical test suite. The obtained p-values were 0.977181 and 0.200659 respectively, confirming successful completion of both tests. Additionally, visual analysis of the generated sequences revealed no noticeable patterns or repetitive structures. Conclusion. The obtained results confirm the high quality of quantum random sequences generated using ANU QRNG and demonstrate the applicability of the developed software tool for cryptographic and cybersecurity applications requiring high-quality randomness.
Random numbers are essential for cryptography and scientific simulation. Generating truly random numbers for cryptography can be a slow and expensive process. Quantum physics offers a variety of promising solutions to this challenge, proposing sources of entropy that may be genuinely unpredictable, based on the inherent randomness of certain physical phenomena. These properties have been employed to design Quantum Random Number Generators (QRNGs), some of which are commercially available. In this work, we present the first published analysis of the Quantis family of QRNGs (excluding AIS-31 models), designed and manufactured by ID Quantique (IDQ). Our study also includes Comscire’s PQ32MU QRNG, and two online services: the Australian National University’s (ANU) QRNG, and the Humboldt Physik generator. Each QRNG is analysed using five batteries of statistical tests: Dieharder, National Institute of Standards and Technology (NIST) SP800-22, Ent, Tuftests and TestU01, as part of our thorough examination of their output. Our analysis highlights issues with current certification schemes, which largely rely on NIST SP800-22 and Diehard tests of randomness. We find that more recent tests of randomness identify issues in the output of QRNG, highlighting the need for mandatory post-processing even for low-security usage of random numbers sourced from QRNGs.
Random number generators (RNGs) are notoriously challenging to build and test, especially for cryptographic applications. While statistical tests cannot definitively guarantee an RNG's output quality, they are a powerful verification tool and the only universally applicable testing method. In this work, we design, implement, and present various post-processing methods, using randomness extractors, to improve the RNG output quality and compare them through statistical testing. We begin by performing intensive tests on three RNGs-the 32-bit linear feedback shift register (LFSR), Intel's 'RDSEED,' and IDQuantique's 'Quantis'-and compare their performance. Next, we apply the different post-processing methods to each RNG and conduct further intensive testing on the processed output. To facilitate this, we introduce a comprehensive statistical testing environment, based on existing test suites, that can be parametrised for lightweight (fast) to intensive testing.
Quantum random number generators (QRNG) are the prime source of randomness, by exploiting the unpredictable nature of Quantum mechanics QRNG aims to provide a string of completely random utterly unpredictable numbers. QRNGs are crucial for cryptography, scientific calculation, simulation, and many more real-world applications. Our Optical Quantum Random Number Generator (OQRNG) utilizes a high-speed pulsating laser, a Polarizing beam splitter (PBS), photodetectors, and advanced signal processing units that capture and digitize random photon intensity forming the raw random bit stream. This technique is famously known as Branching Path Technique. After that, we implement rigorous testing that encompasses the statistical randomness tests developed by National Institute of Standards and Technology (NIST) to ensure the guaranteed ran-domness meets security standards. A user-friendly Graphic user interface (GUI) simplifies interaction with the QRNG allowing the user to configure device settings, monitor system performance, and securely extract random numbers. Our findings help us demonstrate the superiority of QRNGs over classical random number generators, and highlight the potential of photon-based QRNGs and their environmentally friendly and efficient random number generation.
Randomness occurs in every kind of application in which random events should be experienced such as gambling, statistical calculations, computer simulations, information security and encryption. The quality of randomness is very important for the events using randomness. In particular, the need for random numbers used in the field of cryptology to be unpredictable increases the importance of random number generators. \n \nRandom Number Generators (RNGs) are software or hardware components that can be used to generate numbers that cannot be predicted in any pattern or relationship. Software-based RNGs are deterministic applications, while hardware-based RNGs are the devices that can be integrated into the system. \n \nEncryption using numbers generated by software-based RNG can be broken in varying times depending on the strength of the encryption because it was developed in deterministic ways. It is expected that the decoding time will be shortened considerably by the quantum computers which are tried to be developed today besides classic computers that takes a long time to analyze. The hardware RNGs are more powerful in randomness quality than software-based generators, but cost-effective and use-limited generators. \n \nQuantum Random Number Generators (QRNGs) is a kind of generator based on quantum physics laws instead of classical physics. In photonic based QRNGs are produced the random numbers after various software and hardware operations by taking advantage of the uncertainty of photons. These generated numbers are unpredictably strong random numbers. \n \nIn this study, a QRNG was obtained by using the RGB (Red-Green-Blue) values of the images taken from a white-single LED light source and the randomness tests of the produced numbers were carried out with the tests provided by NIST (National Institute of Standards and Technology). As a result, the numbers derived from the images successfully passed NIST tests and true random number sequences were obtained.