The diehard tests are a battery of statistical tests for measuring the quality of a random number generator. They were developed by George Marsaglia over several years and first published in 1995 on ay complex applications of random numbers and new challenges. At present, Diehard tests have become the most widely used random number test package.
The Diehard tests battery in CD-ROM of random numbers. Diehard is a more rigorous randomness test, to meet the increasinglcludes twelve tests of which few are repeated with different parameters.，for example, Birthday spacings，Overlapping permutations and so on.
1. Alani M M. Testing randomness in ciphertext of block-ciphers using DieHard tests[J]. Int. J. Comput. Sci. Netw. Secur, 2010, 10(4): 53-57.diehard_01.pdf
2. Marsaglia G, Tsang W W. Some difficult-to-pass tests of randomness[J]. Journal of Statistical Software, 2002, 7(3): 1-9.diehard_02.pdf