Poker Test - FIPS 140-1
From DiceLock.org
[edit]
Description
Randomness test recommended in the NIST Federal Information Processing Standards 140-1 ( FIPS PUB 140-1 ) publication dated March 1995.
Divide the 20.000 bit stream into 5.000 contiguous 4-bit segments.
Count and store the number of ocurrences of each of the 16 possible 4-bit values. Denote f(i) as the number of each 4-bit value i where 0 <= i <= 15.
Evaluate the following:
The test is passed if 1.03 < X < 57.4.
[edit]
References
[NIST] National Institute of Standards and Technology.
[NIST RNGT] NIST Random Number Generation and Testing.


Before printing, think that wood is a scarce natural resource.