0
$\begingroup$

First it asks for bitstream length.

Usage: ./assess <stream length>
   <stream length> is the length of the individual bit stream(s) to be processed

After file is given to program, it asks for;

How many bitstreams?

How can I determine that values? Let's say I have 1000000 32-bit ASCII sequence of 0s and 1s in a file like;

01111111000111000110010001111010
.
.
.
00110100001001100010111100000011

Which values will be appropriate for this?

$\endgroup$
0
$\begingroup$

Look for the document "NIST Randomness Testing SP800-22b.pdf" (or more recent updates if available) in the NIST website.

My guess is that your sequences are way too short (32 bits long) and no kind of statistical convergence can be expected to occur, which is necessary for the test to work. I presume this may be the reason why you get the error message.

The section "sequence length", p.102 in the NIST document states:

The determination as to how long sequences should be taken for the purposes of statistical testing is difficult to address. If one examines the FIPS 140-1 statistical tests, it is evident that sequences should be about 20,000 bits long.

Coupled with this, you have 1 million such outputs. Depending on the conditions of how these outputs were obtained, you may want to concatenate them into longer outputs, in some principled manner.

$\endgroup$
  • $\begingroup$ I read several parts of this pdf but I might have been skipped that part. Then I have to find an optimal sequence length. $\endgroup$ – Cem Oct 24 '16 at 7:51

Not the answer you're looking for? Browse other questions tagged or ask your own question.