COMPARATIVE ANALYSIS OF PSEUDORANDOM SEQUENCE GENERATORS AND THEIR EVALUATION
DOI:
https://doi.org/10.28925/2663-4023.2026.34.1220Keywords:
pseudorandom numbers, generation algorithms, Mersenne Twister generator, linear congruent generator, statistical analysis, autocorrelation, Pearson chi-square testAbstract
The paper investigates the features and performance of pseudorandom sequence generators as essential components of modern information systems used in data processing, simulation, cryptography, and software testing. The study focuses on a comparative analysis of four approaches: the linear congruential generator, the middle-square method, the Mersenne Twister generator, and a generator based on cryptographic hashing. A dedicated software tool was developed to simulate the operation of these generators and to provide their comprehensive evaluation using both statistical and visual analysis techniques. To assess the quality of the generated sequences, the Pearson chi-square test, variance estimation, and autocorrelation analysis were applied. The obtained results are presented in the form of histograms and sequence plots, enabling a clear evaluation of distribution uniformity, randomness, and the presence of hidden patterns in the generated data. The analysis demonstrates that the Mersenne Twister and cryptographic generators exhibit the best statistical properties, including values close to theoretical expectations, minimal autocorrelation, and high uniformity of distribution. It was found that the linear congruent generator can produce acceptable results only with carefully selected parameters, while the middle-square method shows rapid degradation of sequences and poor statistical quality, making it unsuitable for practical applications. The findings confirm the importance of selecting an appropriate generator depending on the application domain and required statistical or cryptographic properties. The proposed comprehensive evaluation approach can be effectively applied in both educational and practical contexts for analyzing and comparing pseudorandom number generators.
Downloads
References
Shcherbyna, Yu., et al. (2023). Selection of a source of randomness for computer modeling. Science-Based Technologies, 59(3), 233–238. https://doi.org/10.18372/2310-5461.59.17944
Kostiv, Yu. M., Maksymovych, V. M., Harasymchuk, O. I., Sovyn, Ya. R., & Mandrona, M. M. (2013). Determination of optimal parameters of the Hollmann generator using NIST statistical tests. Automation, Measurement and Control, 753, 30–41.
Antunes, B. (2025). Statistical quality and reproducibility of pseudorandom number generators in machine learning technologies. International Journal of Data Informatics and Intelligent Computing, 4(3), 23–32. https://doi.org/10.59461/ijdiic.v4i3.214
Barker, E., & Kelsey, J. (2015). Recommendation for random number generation using deterministic random bit generators (NIST Special Publication 800-90A Rev. 1). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.SP.800-90Ar1
Foreman, C., Yeung, R., & Curchod, F. J. (2024). Statistical testing of random number generators and their improvement using randomness extraction. Entropy, 26(12), 1053. https://doi.org/10.3390/e26121053
Kovalchuk, L. V., Koriakov, I. V., & Bespalov, O. Y. (2024). Statistical tests for checking independence of random variables, which describe sequences generation in cryptoalgorithms. Èlektronnoe Modelirovanie, 46(3), 22–38. https://doi.org/10.15407/emodel.46.03.022
L’Ecuyer, P. (2007). Random number generation. In Handbook of simulation: Principles, methodology, advances, applications, and practice (pp. 93–137). https://doi.org/10.1002/9780470172445.ch4
Marsaglia, G. (2003). Xorshift RNGs. Journal of Statistical Software, 8(14). https://doi.org/10.18637/jss.v008.i14
Matsumoto, M., & Nishimura, T. (1998). Mersenne twister: A 623-dimensionally equidistributed uniform pseudo-random number generator. ACM Transactions on Modeling and Computer Simulation (TOMACS), 8(1), 3–30. https://doi.org/10.1145/272991.272995
O’Neill, M. (2014). PCG: A family of simple fast space-efficient statistically good algorithms for random number generation. Harvey Mudd College.
Schären, T. M., Hanne, T., & Dornberger, R. (2022). The Xoshiro+ pseudorandom number generator in a computer chess program. In A. Abraham, A. Engelbrecht, F. Scotti, N. Gandhi, P. M. Mishrai, G. Fortino, V. Sakalauskas, & S. Pllana (Eds.), Proceedings of the 13th International Conference on Soft Computing and Pattern Recognition (SoCPaR 2021) (pp. 33–42). Springer. https://doi.org/10.1007/978-3-030-96302-6_3
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Тетяна Гришанович, Яна Андрощук, Яна Ярмольська

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.