i need ascii or binary file output from Random Number Generator (marsenne twister and fortuna) algorithm as input for diehard test suite.
with specification:
-
sends the (hex) output of your random number procedure from Random number generator( marsenne twister and fortuna) to an ordinary ascii file.
-
Random number generator should produce 32-bit integers. (If 31 bits, left justify by shift-left-one, as some of the tests in DIEHARD favor leading bits.) You should send them to your ascii file in hex form, 8 hex 'digits' per integer, 10 integers per line, no intervening spaces. The ascii file will be twice as big as the binary file it is reduced to
Help me , I have been trying for a month but it hasn't worked :-(
Aucun commentaire:
Enregistrer un commentaire