11.07.2015 Views

A Random Number Generator Test Suite for the C++ ... - ETH Zürich

A Random Number Generator Test Suite for the C++ ... - ETH Zürich

A Random Number Generator Test Suite for the C++ ... - ETH Zürich

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.23. Fourier trans<strong>for</strong>m test5.23. Fourier trans<strong>for</strong>m testFor this test I found only a really scanty description [26]. So, <strong>the</strong> only way to find out howthis test has to be implemented is looking into existing source code.For a short description <strong>the</strong> following can be said. It is a test <strong>for</strong> multiple streams, butmultiple streams can be built of multiple subsequences. A two-dimensional array has to befilled with random numbers, each row with n numbers from a different stream. Then <strong>the</strong>two-dimensional Fourier coefficients were calculated and compared with <strong>the</strong> expected ones.A related article can be found in [7].5.24. Universal statistical testThis test was designed to detect any significant deviation of a devices output statistics from<strong>the</strong> statistic of a truly random bit source. This test is done by measuring a parameter closelyrelated to <strong>the</strong> devices per-bit entropy. The fully description is in [23].5.25. The Diehard <strong>Test</strong> <strong>Suite</strong>Diehard is <strong>the</strong> name of a battery of tests <strong>for</strong> random number sequences which was developedby George Marsaglia in 1995 [18]. The original Code was written in FORTRAN, but <strong>the</strong>reare two new implementations in C [19], [22]. A useful paper may also be [24].The tests contained in <strong>the</strong> Diehard battery are listed bellow.Birthday Spacings testOverlapping PermutationsRanks of 31 31 and 32 32 matrices testRanks of 68 matrices testCount <strong>the</strong> 1‘s in a Stream of BytesCount <strong>the</strong> 1‘s in Specific BytesMonkey tests on 20-bit WordsMonkey tests OPSO,OQSO,DNAParking Lot testOverlapping Sums testSqeeze testMinimum Distance test<strong>Random</strong> Spheres test41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!