Diehard Statistical Test Suite

Associate
Joined
28 Feb 2013
Posts
2,468
Location
Birmingham
Has anyone here had any experience with the Diehard test suite for testing random number generators?

I'm having problems with all the tests given me crappy results (p-values of 1 for every bitstream) for data that I feed into the Diehard.exe application. I think it is something to do with the fact that it requires a hex output for your random integers produced by your (P)RNG.

My random number programs are written in C++ at the moment so I simply use

Code:
outs << hex << ...

where outs is the name of my output stream and ... is the random number generating sequence.

So, does anyone know how to get your output files of random integers in the right form to put either directly into the diehard.exe or into the asc2bin.exe for conversions?

Thanks.
 
Back
Top Bottom