TestU01: A C library for empirical testing of random number generators
The DOI matches its Crossref record; 129 of the 130 references it cites were found in a registry or an index.
Abstract
We introduce TestU01 , a software library implemented in the ANSI C language, and offering a collection of utilities for the empirical statistical testing of uniform random number generators (RNGs). It provides general implementations of the classical statistical tests for RNGs, as well as several others tests proposed in the literature, and some original ones. Predefined tests suites for sequences of uniform random numbers over the interval (0, 1) and for bit sequences are available. Tools are also offered to perform systematic studies of the interaction between a specific test and the structure of the point sets produced by a given family of RNGs. That is, for a given kind of test and a given class of RNGs, to determine how large should be the sample size of the test, as a function of the generator's period length, before the generator starts to fail the test systematically. Finally, the library provides various types of generators implemented in generic form, as well as many specific generators proposed in the literature or found in widely used software. The tests can be applied to instances of the generators predefined in the library, or to user-defined generators, or to streams of random numbers produced by any kind of device or stored in files. Besides introducing TestU01 , the article provides a survey and a classification of statistical tests for RNGs. It also applies batteries of tests to a long list of widely used RNGs.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“However, these traditional methods have been reported to be inadequate, especially for high-dimensional data and for analyzing complex dependencies”
From A novel deep learning-based statistical randomness evaluation test methodology for cryptographic applications (2025) · cites this paper as L'Ecuyer and Simard 2007
In the citing paper
“NIST SP-800.22 statistical test suite [90] and Die-hard test suite [91] and Test U01 [92] and AIS31 [93] are most common statistical test suites to evaluate their RNGs by researchers.”
From True Random Number Generators Using Electrical Noise (2019) · cites this paper as [92]
In the citing paper
“The Philox and Threefry generators are shown to produce at least 2 64 independent streams of random numbers, with a period of 2 128 or more, and pass BigCrush [36] statistical tests.”
From Bandwidth-Optimal Random Shuffling for GPUs (2022) · cites this paper as [36]
Citations
Cites
The Art of Computer Programming
Knuth, D. E. (1968) · Cited by 16,320
Press, W. H., Teukolsky, S. A., Vetterling, W. T., & Flannery, B. P. (1994) · Cited by 15,411
Mersenne twister: a 623-dimensionally equidistributed uniform pseudo-random number generator
Matsumoto, M., & Nishimura, T. (1998) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/272991.272995 · Cited by 5,780
The Art of Computer Programming. Volume 2: Seminumerical Algorithms.
Taussky, O., & Knuth, D. E. (1970) · The American Mathematical Monthly · doi:10.2307/2317055 · Cited by 3,822
Bassham, L. E., Rukhin, A. L., Soto, J., Nechvatal, J. R., Smid, M. E., Barker, E. B., Leigh, S. D., Levenson, M., Vangel, M., Banks, D. L., et al. (2010) · NIST Special Publication 800-22 Revision 1a · doi:10.6028/nist.sp.800-22r1a · Cited by 3,617 · cited 11×
“Besides TestU01, the best-known public-domain statistical testing packages for RNGs are DIEHARD [Marsaglia 1996] and the test suite implemented by the National Institute of Standards and Technology (NIST) of the USA [Rukhin et al. 2001].”
MethodInfluentialAsymptotic Theory of Certain "Goodness of Fit" Criteria Based on Stochastic Processes
Anderson, T. W., & Darling, D. A. (1952) · The Annals of Mathematical Statistics · doi:10.1214/aoms/1177729437 · Cited by 3,542 · cited 2×
“Their (approximate) distributions under H0 can be found in Anderson and Darling [1952], Darling [1960], Durbin [1973], Stephens [1970], Stephens [1986a], and Sinclair and Spurr [1988]. The p-value of the GOF test statistic is computed and H0 is rejected if this p-value is deemed too extreme, as usual.”
BackgroundCompression of individual sequences via variable-rate coding
Ziv, J., & Lempel, A. (1978) · IEEE Transactions on Information Theory · doi:10.1109/tit.1978.1055934 · Cited by 3,432 · cited 2×
“This number measures the compressibility of the sequence by the Lempel-Ziv compression algorithm given in Ziv and Lempel [1978]. According to Kirschenhofer et al.”
MethodAn Introduction to Probability Theory.
Fristedt, B., & Moran, P. A. P. (1986) · Journal of the American Statistical Association · doi:10.2307/2288022 · Cited by 3,300
Modern Applied Statistics with S-Plus.
Venables, W. N., & Ripley, B. D. (1996) · Biometrics · doi:10.2307/2532871 · Cited by 2,994 · cited 3×
“The combined LCGs of Wichmann and Hill (1982) is of that form, with three components of moduli near 30300, whose outputs are added modulo 1.”
BackgroundMethodInfluentialRandom Number Generation and Quasi-Monte Carlo Methods.
Collings, B. J., & Niederreiter, H. (1993) · Journal of the American Statistical Association · doi:10.2307/2290359 · Cited by 2,884
Research works printed but not linked: 13
- Gammel , B. M. 2005 . Matpack C++ Numerics and Graphics Library , Release 1 . 8 . 1 . http://users.physik.tu-muenchen.de/gammel/matpack/index.html. Gammel, B. M. 2005. Matpack C++ Numerics and Graphics Library, Release 1.8.1. http://users.physik.tu-muenchen.de/gammel/matpack/index.html.
- IBM 1968. System/360 Scientific Subroutine Package. Version III , Programmer's Manual. IBM, White Plains , New York . IBM 1968. System/360 Scientific Subroutine Package. Version III, Programmer's Manual. IBM, White Plains, New York.
- IMSL. 1997. IMSL STAT/ LIBRARY. Visual Numerics Inc ., Houston, TX . http://www.vni.com/books/dod/pdf/STATVol_2.pdf. IMSL. 1997. IMSL STAT/LIBRARY. Visual Numerics Inc., Houston, TX. http://www.vni.com/books/dod/pdf/STATVol_2.pdf.
- Jenkins , B. 1996 . ISAAC. in fast software encryption . In Proceedings of the 3rd International Workshop . Cambridge, UK, D. Gollmann, Ed. Lecture Notes in Computer Science , vol. 1039 . Springer-Verlag, 41--49. http://burtleburtle.net/bob/rand/isaacafa.html. Jenkins, B. 1996. ISAAC. in fast software encryption. In Proceedings of the 3rd International Workshop. Cambridge, UK, D. Gollmann, Ed. Lecture Notes in Computer Science, vol. 1039. Springer-Verlag, 41--49. http://burtleburtle.net/bob/rand/isaacafa.html.
- L'Ecuyer , P. 2004. Random number generation . In Handbook of Computational Statistics , J. E. Gentle, W. Haerdle, and Y. Mori, Eds. Springer-Verlag , Berlin, Germany . 35--70. Chapter II.2. L'Ecuyer, P. 2004. Random number generation. In Handbook of Computational Statistics, J. E. Gentle, W. Haerdle, and Y. Mori, Eds. Springer-Verlag, Berlin, Germany. 35--70. Chapter II.2.
- Maplesoft . 2006. Maple User Manual . Waterloo Maple Inc., Waterloo, Canada . http://www.maplesoft.com/products/maple/. Maplesoft. 2006. Maple User Manual. Waterloo Maple Inc., Waterloo, Canada. http://www.maplesoft.com/products/maple/.
- Marsaglia , G. 1985 . A current view of random number generators. In Computer Science and Statistics , Sixteenth Symposium on the Interface. Elsevier Science Publishers, North-Holland , Amsterdam, The Netherlands. 3--10. Marsaglia, G. 1985. A current view of random number generators. In Computer Science and Statistics, Sixteenth Symposium on the Interface. Elsevier Science Publishers, North-Holland, Amsterdam, The Netherlands. 3--10.
- MathSoft Inc. 2000. S-PLUS 6.0 Guide to Statistics. Vol. 2. Data Analysis Division , Seattle, WA . MathSoft Inc. 2000. S-PLUS 6.0 Guide to Statistics. Vol. 2. Data Analysis Division, Seattle, WA.
- Project , T. G. 2003 . R : An Environment for Statistical Computing and Graphics. The Free Software Foundation. Version 1 . 6 . 2 . http://www.gnu.org/directory/GNU/R.html. Project, T. G. 2003. R: An Environment for Statistical Computing and Graphics. The Free Software Foundation. Version 1.6.2. http://www.gnu.org/directory/GNU/R.html.
- SciFace Software . 2004. Mu PAD . SciFace Software GmbH & ; Co.KG , Paderborn, Germany . http://www.mupad.de/home.html. SciFace Software. 2004. MuPAD. SciFace Software GmbH & Co.KG, Paderborn, Germany. http://www.mupad.de/home.html.
- Stephens , M. S. 1986a. Tests based on EDF statistics . In Goodness-of-Fit Techniques, R. B. D'Agostino and M . S. Stephens, Eds. Marcel Dekker , New York, NY . Stephens, M. S. 1986a. Tests based on EDF statistics. In Goodness-of-Fit Techniques, R. B. D'Agostino and M. S. Stephens, Eds. Marcel Dekker, New York, NY.
- Stephens , M. S. 1986b. Tests for the uniform distribution . In Goodness-of-Fit Techniques, R. B. D'Agostino and M . S. Stephens, Eds. Marcel Dekker , New York, NY , 331--366. Stephens, M. S. 1986b. Tests for the uniform distribution. In Goodness-of-Fit Techniques, R. B. D'Agostino and M. S. Stephens, Eds. Marcel Dekker, New York, NY, 331--366.
- Wegenkittl , S. 1998. Generalized &phis;-divergence and frequency analysis in Markov chains. Ph.D. thesis , University of Salzburg. http ://random.mat.sbg.ac.at/team/. Wegenkittl, S. 1998. Generalized &phis;-divergence and frequency analysis in Markov chains. Ph.D. thesis, University of Salzburg. http://random.mat.sbg.ac.at/team/.
Cited by
Items 501–600 of 1,000
On the convergence of the Monte Carlo block design
Müller, M. E., & Rink, C. (2009) · Metrologia · doi:10.1088/0026-1394/46/5/003 · Cited by 7
64-Bit and 128-bit DX random number generators
Deng, L., Lu, H. H., & Chen, T. (2010) · Computing · doi:10.1007/s00607-010-0097-9 · Cited by 7
“L’Ecuyer and Simard [30] also reported that any linear generator fails in linear complexity test.”
BackgroundOn parallel random number generation for accelerating simulations of communication systems
Brugger, C., Weithoffer, S., Schryver, C. D., Wasenmüller, U., & Wehn, N. (2014) · Advances in radio science · doi:10.5194/ars-12-75-2014 · Cited by 7
“To a special degree, this research was driven by Pierre L’Ecuyer, Michael Mascagni, and others who investigated novel RNG approaches For example, L’Ecuyer has formulated several key criteria for “good” RNGs: a long period, repeatable outputs, portability to different execution platforms, and the ability to split the o…”
BackgroundComparison of Point Sets and Sequences for Quasi-Monte Carlo and for Random Number Generation
L’Ecuyer, P. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-85912-3_1 · Cited by 7
“It makes sense that the figures of merit for the point sets Ψ s produced by RNGs also take the low-dimensional projections into account, as suggested in [3] [31] [17], for example.”
BackgroundInfluentialSelf-citationEvaluation of splittable pseudo-random generators
Schaathun, H. G. (2015) · Journal of Functional Programming · doi:10.1017/s095679681500012x · Cited by 7
“The TestU01 suite (L’Ecuyer & Simard, 2007) and Die-harder (Brown, 2015) are comprehensive software tools covering large ranges of tests.”
MethodEfficient Pseudorandom number generators for biomolecular simulations on graphics processors
Zhmurov, A. A., Barsegov, V. A., Trifonov, S. V., Kholodov, Y. A., & Kholodov, A. S. (2011) · Computer Research and Modeling · doi:10.20537/2076-7633-2011-3-3-287-308 · Cited by 7
Parallel implementation of the non-overlapping template matching test using CUDA
Li, K., Zhang, J., Li, P., Wang, A., & Wang, Y. (2020) · China Communications · doi:10.23919/jcc.2020.08.019 · Cited by 7
“There are several famous batteries of statistical tests for evaluating random num - bers, such as John Walker’s ENT test [7], the TestU01 [8] developed by L’Ecuyer and the Diehard test designed by Marsaglia [9].”
Better Investing Through Factors, Regimes and Sensitivity AnalysisPreprint
Homescu, C. (2015) · SSRN Electronic Journal · doi:10.2139/ssrn.2557236 · Cited by 7
Randen - fast backtracking-resistant random generator with AES+Feistel+ReveriePreprint
Wassenberg, J., Obryk, R., Alakuijala, J., & Mogenet, E. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1810.02227 · Cited by 7
“By contrast, BigCrush reports two failures when testing MT19937 and one near-failure for AES-CTR (p-value of 0.000092, but it did not recur in subsequent test(s)) [16].”
BackgroundMethodResultInfluentialBandwidth-Optimal Random Shuffling for GPUs
Mitchell, R., Stokes, D., Frank, E., & Holmes, G. (2022) · ACM Transactions on Parallel Computing · doi:10.1145/3505287 · Cited by 6
Vithayathil, A. J., & Sreekumar, A. (2025) · International Journal of Bifurcation and Chaos · doi:10.1142/s0218127425500804 · Cited by 6
Secure Parallel Image Cryptographic Hash Function Using a Novel 2D High-Randomness Hyperchaotic Map
Qi, M., & Wang, D. X. (2025) · Mathematics · doi:10.3390/math13111890 · Cited by 6
Antunes, B. A. (2025) · International Journal of Data Informatics and Intelligent Computing · doi:10.59461/ijdiic.v4i3.214 · Cited by 6
Secure chaos-based PRNG for low-power and resource-constrained devices
Abdelkrim, S., Merah, H., Merah, L., Özer, Ö., Talbi, L., & Ali‐Pacha, A. (2025) · Nonlinear Dynamics · doi:10.1007/s11071-025-11804-x · Cited by 7
“Standard test suites like NIST SP 800-22 [65], Dieharder [66], and TestU01 [67] are commonly employed to assess the statistical quality of chaotic sequences.”
Chai, H., Pan, Q., & Wu, J. (2025) · Security and Safety · doi:10.1051/sands/2025015 · Cited by 8
Pseudorandom Pattern Generation Using 3-State Cellular Automata
Bhattacharjee, K., Paul, D., & Das, S. K. (2016) · Lecture notes in computer science · doi:10.1007/978-3-319-44365-2_1 · Cited by 7
Artificial Intelligence applications in Noise Radar Technology
Sénica, A. L., Marques, P. A. C., & Figueiredo, M. A. T. (2024) · IET Radar Sonar & Navigation · doi:10.1049/rsn2.12503 · Cited by 6
Sun, X., & Liu, H. (2025) · International Journal of Bifurcation and Chaos · doi:10.1142/s021812742550141x · Cited by 7
R-2 composition tests: a family of statistical randomness tests for a collection of binary sequences
Uğuz, M., Doğanaksoy, A., Sulak, F., & Koçak, O. (2018) · Cryptography and Communications · doi:10.1007/s12095-018-0334-1 · Cited by 6
Evolutionary and swarm-intelligence algorithms through monadic composition
Pamparà, G., & Engelbrecht, A. P. (2019) · Genetic and Evolutionary Computation Conference Companion (GECCO Companion) · doi:10.1145/3319619.3326845 · Cited by 6
“Most platforms provide a default global random number generator but it can be argued that this practice is frought with errors with default generators often failing randomness tests such as TestU01 [18] (also known as the “Crush” tests) and the DieHard [24] tests.”
MethodRandom Number Generators in Training of Contextual Neural Networks
Huk, M., Shin, K., Kuboyama, T., & Hashimoto, T. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-73280-6_57 · Cited by 10
Kanak, A., Ergün, S., Yazıcı, A. T., Özkan, M., Çokünlü, G., Yayan, U., Karaca, M., & Arslan, A. T. (2021) · Open Research Europe · doi:10.12688/openreseurope.13627.1 · Cited by 9
A Novel Scrambling Method Based on Coupling Mode Switching Strategy for Digital Chaos
Zhou, P., & Sheng-fei, W. (2022) · International Journal of Bifurcation and Chaos · doi:10.1142/s0218127422500948 · Cited by 7
Design and application of a structure-varying coupled chaotic system with high security
Ming, H., Hu, H., & Zheng, J. (2023) · Expert Systems with Applications · doi:10.1016/j.eswa.2023.120158 · Cited by 6
Identifying Quality Mersenne Twister Streams for Parallel Stochastic Simulations
Antunes, B. A., Mazel, C., & Hill, D. R. C. (2023) · Winter Simulation Conference · doi:10.1109/wsc60868.2023.10408699 · Cited by 11
Предельные совместные распределения статистик критериев пакета NIST и их обобщений
Savelov, M. P. (2024) · Дискретная математика · doi:10.4213/dm1824 · Cited by 6
Gilbert, C., & Gilbert, M. A. (2024) · International Journal of Scientific Research and Modern Technology. · doi:10.38124/ijsrmt.v3i11.77 · Cited by 6
Numerical Aspects in the Evaluation of Measurement Uncertainty
Cox, M. G., Forbes, A., Harris, P. M., & Matthews, C. (2012) · IFIP International Federation for Information Processing/IFIP · doi:10.1007/978-3-642-32677-6_12 · Cited by 6
The never ending problem of counting bits efficiently
Suciu, A., Cobarzan, P., & Marton, K. (2011) · RoEduNet Conference: Networking in Education and Research (RoEduNet) · doi:10.1109/roedunet.2011.5993702 · Cited by 6
“The recommended sequence size would be around 1 GB, and a large amount of sequences should be tested; the more sequences tested, the better [2, 3 ].”
BackgroundA New Approach to Pseudorandom Number Generation
Ankur, Divyanjali, & Pareek, V. (2014) · doi:10.1109/acct.2014.26 · Cited by 6
“But generating random bits is not sufficient there are many statistical tests present which are used to verify the randomness of the generator including NIST (National Institute of Standards and Technology) [3], TestU01 [4], and Diehard [5] etc.”
MethodVoice Based User-Device Physical Unclonable Functions for Mobile Device Authentication
Guo, Y., & Tyagi, A. (2016) · IEEE Computer Society Annual Symposium on VLSI · doi:10.1109/isvlsi.2016.47 · Cited by 6
ESSENCE: GPU-based and dynamic key-dependent efficient stream cipher for multimedia contents
Couturier, R., Noura, H., & Chehab, A. (2020) · Multimedia Tools and Applications · doi:10.1007/s11042-020-08613-2 · Cited by 6
“Moreover, the proposed cipher scheme offers a high degree of randomness, which was validated by quantifying the produced key-stream, which successfully passed the statistical tests of TestU01.”
MethodInfluentialDetecting Temporal Correlation via Quantum Random Number Generation
Shikano, Y., Tamura, K., & Raymond, R. (2020) · Electronic Proceedings in Theoretical Computer Science · doi:10.4204/eptcs.315.2 · Cited by 8
“T 1 [ s] q[0] q[1] q[2] q[3] q[4] q[5] q[6] q[7] q[8] q[9] q[10] q[11] q[12] q[13] q[14] q[15] q[16] q[17] q[18] q[19]”
BackgroundMethodInfluentialThundeRiNG: generating multiple independent random number sequences on FPGAs
Tan, H., Chen, X., Chen, Y., He, B., & Wong, W.-F. (2021) · International Conference on Supercomputing · doi:10.1145/3447818.3461664 · Cited by 9
Хомік, М., & Гарасимчук, О. І. (2023) · Ukrainian Information Security Research Journal · doi:10.18372/2410-7840.25.17940 · Cited by 6
Becker, M., Weerawardane, T., Li, X., & Görg, C. (2007) · Springer eBooks · doi:10.1007/978-0-387-73908-3_12 · Cited by 6
“According to [ 16 ] the BSD PRNGs fails at least the p-value test, which checks the uniformity of the values the PRNG outputs.”
MethodFast Implementation of Block Ciphers and PRNGs for Kepler GPU Architecture
Cheong, H.-S., & Lee, W. (2015) · International Conference on IT Convergence and Security (ICITCS) · doi:10.1109/icitcs.2015.7292982 · Cited by 6
“However, SSL [1] and TLS [2] are yet widely used in many websites due to the overhead caused by computationally heavy cryptographic algorithms.”
BackgroundImplementation of Hardware-Accelerated Scalable Parallel Random Number Generators
Lee, J., Peterson, G. D., Harrison, R. J., & Hinde, R. J. (2010) · VLSI design · doi:10.1155/2010/930821 · Cited by 6
Evaluation of Encrypted Data Identification Methods Based on Randomness Test
Zhao, B., Liu, Q., & Liu, X. (2011) · IEEE/ACM International Conference on Green Computing and Communications (GreenCom) · doi:10.1109/greencom.2011.41 · Cited by 6
“There are batteries of statistical tests available to judging whether a sequence is random or not: the NIST[5], the DIEHARD[6], the Crypt-X[7], TestU01[8], and others.”
The effect of the dispersal kernel on isolation-by-distance in a continuous population
Furstenau, T., & Cartwright, R. A. (2016) · PeerJ · doi:10.7717/peerj.1848 · Cited by 6
“533 We compared the speed of these algorithms and a naive rejection sampler using the medium Crush 534 tests (L’Ecuyer and Simard, 2007).”
MethodRandom Numbers from a Delay Equation
Self, J., & Mackey, M. C. (2016) · Journal of Nonlinear Science · doi:10.1007/s00332-016-9306-9 · Cited by 6
Description and simulation of physics of Resistive Plate Chambers
Français, V. (2016) · Journal of Instrumentation · doi:10.1088/1748-0221/11/05/c05023 · Cited by 7
Implementing Geant4 on GPU for medical applications
Pérez-Ponce, H., Bitar, Z. E., Boursier, Y., Vintache, D., Bonissent, A., Morel, C., Brasse, D., Visvikis, D., & Bert, J. (2011) · IEEE Nuclear Science Symposium and Medical Imaging Conference (NSS/MIC) · doi:10.1109/nssmic.2011.6152953 · Cited by 6
NIREUS: A new software for the analysis of on-demand pressurized collective irrigation networks
Stefopoulou, Α., & Dercas, N. (2017) · Computers and Electronics in Agriculture · doi:10.1016/j.compag.2017.05.024 · Cited by 6
“Thus, Mersenne Twister was chosen as the default generator, since it is excessively tested (L’Ecuyer and Simard, 2007; Cornejo Díaz et al., 2010; Gentle et al., 2004).”
MethodSecure and Fast Encryption (SAFE) with Classical Random Number Generators
Deng, L., Shiau, J. H., Lu, H. H., & Bowman, D. A. (2018) · ACM Transactions on Mathematical Software · doi:10.1145/3212673 · Cited by 6
“Even the popular MT19937 and its related family of generators failed the linear complexity tests in the Crush battery with p -values larger than 1 − 10 − 15 ; see L’Ecuyer and Simard (2007).”
BackgroundA New Stream Cipher Based on Nonlinear Dynamic System
Mannai, O., Becheikh, R., & Rhouma, R. (2018) · European Signal Processing Conference (EUSIPCO) · doi:10.23919/eusipco.2018.8553449 · Cited by 6
“The well-known tests NIST Statistical Test Suite (STS) [16], Diehard [17] and TestU01 [18].”
MethodHuman Assisted Randomness Generation Using Video Games.
Alimomeni, M., & Safavi–Naini, R. (2014) · Cited by 6
Pseudo-random Number Generation
Stinson, D. R. (2005) · Chapman & Hall/CRC eBooks · doi:10.1201/9781420057133-11 · Cited by 6
METHODS OF FACTORIAL CODING OF SPEECH SIGNALS
Фауре, Е. В., Швидкий, В. В., Lavdanskyi, A., & Харін, О. О. (2019) · Radio Electronics Computer Science Control · doi:10.15588/1607-3274-2019-4-18 · Cited by 15
Autocorrelation criterion for quality assessment of random number sequences
Фауре, Е. В., Миронець, І. В., & Lavdanskyi, A. (2020) · doi:10.32782/cmis/2608-52 · Cited by 6
“We implement the developed criterion for known PRNG, which pass all tests of the TestU01 test package [4].”
BackgroundMethodInfluentialPseudorandom sequences derived from automatic sequences
Mérai, L., & Winterhof, A. (2022) · Cryptography and Communications · doi:10.1007/s12095-022-00556-9 · Cited by 6
“It originates in cryptography and provides a test of randomness which is a standard tool to filter sequences with non-randomness properties and is implemented in many test suites such as NIST and TestU01 [53,82].”
MethodAsymptotically most powerful tests for random number generators
Ryabko, B. Y. (2021) · Journal of Statistical Planning and Inference · doi:10.1016/j.jspi.2021.07.007 · Cited by 6
Testing the Tests: Using Random Number Generators to Improve Empirical Tests
Leopardi, P. C. (2009) · Springer eBooks · doi:10.1007/978-3-642-04107-5_32 · Cited by 8
“TestU01 is a collection of “Utilities for empirical statistical testing of uniform random number generators” [14].”
BackgroundMethodInfluentialTheoretical and empirical convergence results for additive congruential random number generators
Wikramaratna, R. S. (2009) · Journal of Computational and Applied Mathematics · doi:10.1016/j.cam.2009.10.015 · Cited by 6
clRNG: A Random Number API with Multiple Streams for OpenCL
L’Ecuyer, P., Munger, D., & Kemerchou, N. (2015) · Cited by 6
Self-citationHydrologic Drought Decision Support System (HyDroDSS)
Granato, G. E. (2014) · Antarctica A Keystone in a Changing World · doi:10.3133/ofr20141003 · Cited by 6
Physical unknowablesPreprint
Svozil, K. (2007) · arXiv (Cornell University) · doi:10.48550/arxiv.physics/0701163 · Cited by 6
L’Ecuyer, P. (2013) · Springer eBooks · doi:10.1007/978-1-4419-1153-7_852 · Cited by 6
Self-citationTaimre, T., Kroese, D. P., & Botev, Z. I. (2019) · Wiley eBooks · doi:10.1002/9781118445112.stat03619.pub2 · Cited by 6
Study on upper limit of sample size for a two-level test in NIST SP800-22
Haramoto, H. (2021) · Japan Journal of Industrial and Applied Mathematics · doi:10.1007/s13160-020-00434-y · Cited by 5
“over the interval [0;1], or over the integers in an interval (e.g. f0;1g). There are many statistical tests for PRNGs, for example, TestU01 by L’Ecuyer and Simard is the most comprehensive test suite [10], and recently PractRands [2] is published. In this paper, we investigate the test suite, named SP800- 22, proposed…”
MethodNew statistical randomness tests: 4-bit template matching tests
SULAK, F. (2017) · TURKISH JOURNAL OF MATHEMATICS · doi:10.3906/mat-1509-19 · Cited by 5
“There are several test suites in the literature [17], [23], [18], [3], [24], [2].”
BackgroundSensitivity and uniformity in statistical randomness tests
Almaraz Luengo, E., Leiva Cerna, M., García Villalba, L. J., Hurley-Smith, D., & Hernandez-Castro, J. (2022) · Journal of Information Security and Applications · doi:10.1016/j.jisa.2022.103322 · Cited by 5
Proper parallel Monte Carlo for computed tomography of volcanoes
Schweitzer, P., Mazel, C., Fehr, F., Cârloganu, C., & Hill, D. R. C. (2013) · International Conference on High Performance Computing & Simulation (HPCS) · doi:10.1109/hpcsim.2013.6641463 · Cited by 5
“Even with the current level of sequential performances, simulating 10 millions of accepted particles”
Testing and Reliability Enhancement of Security Primitives
Anik, T. H., Danger, J., Diankha, O., Ebrahimabadi, M., Frisch, C., Guilley, S., Karimi, N., Pehl, M., & Takarabt, S. (2021) · Proceedings · doi:10.1109/dft52944.2021.9568297 · Cited by 5
On Random Number Generation for Kernel Applications
Abhishek, K., & Raj, E. G. D. P. (2022) · Fundamenta Informaticae · doi:10.46298/fi.9350 · Cited by 5
A Fast Hardware Pseudorandom Number Generator Based on xoroshiro128
Hanlon, J., & Felix, S. (2022) · IEEE Transactions on Computers · doi:10.1109/tc.2022.3204226 · Cited by 5
“Each bit of the output of the xoroshiro128aox (55-14-36) is tested for linear artefacts with TestU01’s smarsa_MatrixRank TABLE 2 Summary of BigCrush Test Failures for Each Generator Generator s32 r32 s32l s32h r32l r32h Total Systematic failures mt32 236 237 233 238 246 237 1427 LinearComp pcg64 34 30 38 37 38 27 204…”
MethodInfluentialExamine the Reliability of Econometrics Software: An Empirical Comparison of Time Series Modelling
Wickramasinghe, W. M. A., Athukorala, P. P. A. W., Senarathne, S. G. J., & Yapa, Y. P. R. D. (2023) · Open Journal of Statistics · doi:10.4236/ojs.2023.131003 · Cited by 5
Madarro-Capó, E. J., Piñón, E. C. R., Sosa-Gómez, G., & Rojas, O. (2024) · Computation · doi:10.3390/computation12030060 · Cited by 5
Deep Learning-Based Security Analysis of Quantum Random Numbers Generated by Imperfect Devices
Cao, J., Zhang, M., Liu, W., Wang, L., & Peng, J. (2024) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2024.3445169 · Cited by 6
“Restrictions apply. perform some form of self-testing on the random number generator internals, such as NIST SP800-22 [32], AIS 31 [33], and TestU01 [34], etc.”
BackgroundZheng, J., & Li, J. (2013) · Lecture notes in computer science · doi:10.1007/978-3-642-37119-6_3 · Cited by 5
Designing Stream Cipher Systems Using Genetic Programming
Awad, W. S. (2011) · Lecture notes in computer science · doi:10.1007/978-3-642-25566-3_23 · Cited by 5
“literature for developing suites of tests for evaluating random number (Binary keystream) generators to be involved in stream ciphers [21, 22, 23].”
BackgroundMarkov Chain Simulation with Fewer Random Samples
Milios, D., & Gilmore, S. T. (2013) · Electronic Notes in Theoretical Computer Science · doi:10.1016/j.entcs.2013.07.012 · Cited by 5
Area-Efficient PUF-Based Key Generation on System-on-Chips with FPGAs
Gehrer, S., & Sigl, G. (2015) · Journal of Circuits Systems and Computers · doi:10.1142/s0218126616400028 · Cited by 5
On randomness testing in physical layer key agreement
Gohring, M., & Schmitz, R. (2015) · IEEE World Forum on Internet of Things (WF-IoT) · doi:10.1109/wf-iot.2015.7389145 · Cited by 5
Chugunkov, I. V., Prokofiev, A. O., Strelchenko, P. A., & Matriukhina, Y. A. (2016) · International Scientific-Technical Conference on Actual Problems of Electronic Instrument Engineering (APEIE) · doi:10.1109/apeie.2016.7806399 · Cited by 5
“Numerous articles and monographs are devoted to the research of the assessment tests [13-22], whereas the graphic tests had been in the shadow till the recent time.”
BackgroundError analysis and reliability metrics for software in safety critical systems
Lockhart, J., Purdy, C., & Wilsey, P. A. (2016) · IEEE International Midwest Symposium on Circuits and Systems (MWSCAS) · doi:10.1109/mwscas.2016.7869962 · Cited by 5
“This RNG was chosen over C’s rand or other RNGs as it is fast, reliable, and was shown to pass all tests in L’Ecuyer’s SmallCrush [35].”
MethodResearch and Application of Hybrid Random Selection Genetic Algorithm
Zhu, J., Huai, L., & Cui, R. (2017) · International Symposium on Computational Intelligence and Design · doi:10.1109/iscid.2017.67 · Cited by 5
“However, it passes most, not all, of the stringent TestU01 randomness tests [8].”
BackgroundBSRNG: A High Throughput Parallel BitSliced Approach for Random Number Generators
Monfared, S. K., Hajihassani, O., Kiarostami, M. S., Zanjani, S. M., Rahmati, D., & Gorgin, S. (2020) · International Conference on Parallel Processing Workshops (ICPPW) · doi:10.1145/3409390.3409402 · Cited by 7
Simulation of Large Scale Neural Models With Event-Driven Connectivity Generation
Carvalho, N. A., Contassot‐Vivier, S., Buhry, L., & Martinez, D. (2020) · Frontiers in Neuroinformatics · doi:10.3389/fninf.2020.522000 · Cited by 7
“Yet, the LFSR (Linear-Feedback Shift Register) nature of the pseudo-random number generator (PRNG) used in their approach is not statistically strong as it does not pass classical linear tests provided in TestU01 (L’Ecuyer and Simard, 2007) which is a reference in the domain.”
MethodPerformance evaluation of chaotic random numbers generated from responses of integer logistic maps
Kanamaru, S., Shimada, Y., Fujiwara, K., & Ikeguchi, T. (2021) · Nonlinear Theory and Its Applications IEICE · doi:10.1587/nolta.12.489 · Cited by 5
“However, it is also important to introduce other test suites, such as TestU01 [20].”
BackgroundSecond-level randomness test based on the Kolmogorov-Smirnov test
Yamaguchi, A., & Saito, A. (2022) · JSIAM Letters · doi:10.14495/jsiaml.14.73 · Cited by 6
“Several randomness test suites have been proposed as evaluation methods for random or pseudorandom number generators (PRNGs) [1, 2], in which randomness is tested at two levels.”
BackgroundEvaluation of a True Random Number Generator Utilizing Timing Jitters in RSFQ Logic Circuits
Kenta, S. A. T. O., Sega, N., Somei, Y., Shimada, H., Onomi, T., & Mizugaki, Y. (2022) · IEICE Transactions on Electronics · doi:10.1587/transele.2021ses0001 · Cited by 5
“SP.800-22r1a [25] Pierre L’Ecuyer, Richard J. Simard, “TestU01: A C library for empirical testing of random number generators”, ACM Transactions on Mathematical Software, Vol. 33, Issue 4, Art.”
Splittable pseudorandom number generators using cryptographic hashing
Claessen, K., & Pałka, M. H. (2013) · ACM SIGPLAN Notices · doi:10.1145/2578854.2503784 · Cited by 14
Synchronous speculative simulation of tightly coupled agents in continuous time on CPUs and GPUs
Andelfinger, P., & Uhrmacher, A. M. (2023) · SIMULATION · doi:10.1177/00375497231158930 · Cited by 5
Parallel implementation of the TestU01 statistical test suite
Suciu, A., Toma, R. A., & Marton, K. (2012) · IEEE International Conference on Intelligent Computer Communication and Processing (ICCP) · doi:10.1109/iccp.2012.6356206 · Cited by 5
“The TestU01 statistical test suite is a well known library for testing random number sequences, originally implemented at the University of Montreal by L'Ecuyer and Simard[1].”
MethodResolution-stationary random number generators
Panneton, F., & L’Ecuyer, P. (2007) · Mathematics and Computers in Simulation · doi:10.1016/j.matcom.2007.09.014 · Cited by 5
Self-citationAn On-Demand Fast Parallel Pseudo Random Number Generator with Applications
Banerjee, D. S., Bahl, A. K., & Kothapalli, K. (2012) · IEEE International Symposium on Parallel & Distributed Processing, Workshops and Phd Forum · doi:10.1109/ipdpsw.2012.212 · Cited by 5
Strong Law of Large Numbers and Monte Carlo Methods
Graham, C., & Talay, D. (2013) · Applications of mathematics · doi:10.1007/978-3-642-39363-1_2 · Cited by 5
FPGA-based random pulse generator for emulation of a neutron detector system in a nuclear reactor
Ferrucci, F. N., Verrastro, C., Rios, G. E., & Estryk, D. S. (2011) · Southern Conference on Programmable Logic (SPL) · doi:10.1109/spl.2011.5782633 · Cited by 5
“The seed is pre-calculated as a memory image, thus additional Flash memory is necessary to store those initial values To test the randomness of the MT32 algorithm, the TestU01 Tool was used [7].”
MethodHuman Assisted Randomness Generation Using Video Games
Alimomeni, M., & Safavi–Naini, R. (2015) · Lecture notes in computer science · doi:10.1007/978-3-319-27659-5_27 · Cited by 5
“We used the TestU01 framework [LS07b] with an implementation available at [LS07a].”
MethodMiller, W. (2014) · Elsevier eBooks · doi:10.1016/b978-0-444-56369-9.00012-5 · Cited by 6
Hurley-Smith, D., & Hernandez-Castro, J. C. (2018) · Lecture notes in computer science · doi:10.1007/978-3-030-04762-7_8 · Cited by 5
Comment: Unreasonable Effectiveness of Monte Carlo
Owen, A. B. (2019) · Statistical Science · doi:10.1214/18-sts676 · Cited by 5
Time-Adaptive Statistical Test for Random Number Generators
Ryabko, B. (2020) · Entropy · doi:10.3390/e22060630 · Cited by 5
Security Improvement and Privacy Preservation in E-Health
Kishore, P., Barisal, S. K., Kumar, K. V., & Mohapatra, D. P. (2021) · International Conference on Communications · doi:10.1109/icc42927.2021.9500873 · Cited by 6
A Bad Day to Die Hard: Correcting the Dieharder Battery
Sýs, M., Obrátil, L., Matyáš, V., & Klinec, D. (2021) · Journal of Cryptology · doi:10.1007/s00145-021-09414-y · Cited by 5
CDIEA: Chaos and DNA Based Image Encryption Algorithm
Arı, A. (2023) · Turkish Journal of Science and Technology · doi:10.55525/tjst.1250419 · Cited by 5
Parallel CV-QRNG with Strict Entropy Evaluation
Zheng, Z., Guo, X., Lin, F., Wang, Y., Wang, Y., & Guo, Y. (2023) · Photonics · doi:10.3390/photonics10070786 · Cited by 7
Encrypted Traffic Identification Based on Sparse Logistical Regression and Extreme Learning Machine
Meng, J., Yang, L., Zhou, Y., & Pan, Z. (2014) · Proceedings in adaptation, learning and optimization · doi:10.1007/978-3-319-14066-7_7 · Cited by 5
There is no good excuse for a bad random number generator: a reply to Barry
Niel, K. P. V., & Laffan, S. W. (2011) · International Journal of Geographical Information Systems · doi:10.1080/13658811003702154 · Cited by 5
“The TESTU01 suite (L’Ecuyer and Simard 2007) provides a new set of empirical tests for modern PRNGs.”
Background
Metadata
- Authors
- L'Ecuyer, P., & Simard, R.
- Affiliations
- Université de Montréal, Canada
- Université de Montréal (CA)
- Venue
- ACM Transactions on Mathematical Software
- Published
- 2007-08-15
- Volume
- 33
- Issue
- 4
- Pages
- 1-40
- ISSN
- 0098-3500 (ISSN-L)
- 1557-7295
- OpenAlex
- W1963898916
- Semantic Scholar
- ba61b9f0b400b6a375eca7f7ecdb18ad871fa9e8
- Cited by
- 1,014
- References
- 130
- Citations by year
- 2026: 50 · 2025: 69 · 2024: 56 · 2023: 60 · 2022: 64 · 2021: 69 · 2020: 68 · 2019: 54 · 2018: 55 · 2017: 51 · 2016: 45 · 2015: 54 · 2014: 59 · 2013: 51 · 2012: 46
- FWCI
- 42.63
- Type
- journal article
- Language
- en
- Open access
- closed
- Locations
- ACM Transactions on Mathematical Software (publishedVersion, public-domain)
- Topics
- Physical Sciences › Mathematics › Numerical Analysis › Mathematical Approximation and Integration
- Physical Sciences › Mathematics › Statistics and Probability › Probability and Statistical Research
- Social Sciences › Decision Sciences › Management Science and Operations Research › Simulation Techniques and Applications
- Keywords
- TestU01, random number generators, uniform random number generators, empirical testing, test suite, bit sequences, sample size analysis
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.