Testing Pseudorandom Generators

  • Ronald T. Kneusel


Testing pseudorandom number generators is not quite as straightforward as it might seem. In this chapter we consider classical tests of randomness and apply them to the generators discussed in Chap.  2. Next we investigate two popular test suites: dieharder (based on the older DIEHARD) and TestU01, and one quick test program (ent). These test suites are the benchmarks against which researchers generally measure new algorithms.


  1. 1.
    Brown, Robert G., Dirk Eddelbuettel, and David Bauer. “Dieharder: A random number test suite.” Open Source software library, under development (2013).
  2. 2.
    L’Ecuyer, Pierre, and Richard Simard. “TestU01: AC library for empirical testing of random number generators.” ACM Transactions on Mathematical Software (TOMS) 33, no. 4 (2007): 22.
  3. 3.
    Knuth, D.E. Seminumerical Algorithms. The Art of Computer Programming (2nd ed.), Vol. 2, Addison-Wesley, Reading, MA (1981).Google Scholar
  4. 4.
    Bassham III, Lawrence E., Andrew L. Rukhin, Juan Soto, James R. Nechvatal, Miles E. Smid, Elaine B. Barker, Stefan D. Leigh, et al. “Sp 800-22 rev. 1a. a statistical test suite for random and pseudorandom number generators for cryptographic applications.” (2010).Google Scholar
  5. 5.
  6. 6.
  7. 7.
    Marsaglia, George. “DIEHARD statistical tests.” (CDROM), Florida State University (1995).Google Scholar

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  • Ronald T. Kneusel
    • 1
  1. 1.ThorntonUSA

Personalised recommendations