vendredi 15 mai 2020

Sequence of binary input file for NIST

I've developed an RNG program, for now, I want to test whether my numbers are random. Thus, I decided to use NIST Test Suite.

I'm still confused about the input file format, they say: "The user may want to construct as many files of arbitrary length as desired. Files should contain binary sequences stored as either ASCII characters consisting of zeroes and ones, or as binary data where each byte contains eight bits worth of 0’s and 1’s"

My python RNG program will return a sequence of numbers line by line as:

69
11
68
55
33
20
75
96

How can I convert them to the proper input file for NIST?




Aucun commentaire:

Enregistrer un commentaire