Runs Test
From DiceLock.org
Contents |
Runs Test
Bit stream Random Test.
The Test
The focus of this test is the total number of runs in the sequence, where a run is an uninterrupted sequence of identical bits. A run of length k consists of exactly k identical bits and is bounded before and after with a bit of the opposite value. The purpose of the runs test is to determine whether the number of runs of ones and zeros of various lengths is as expected for a random sequence. In particular, this test determines whether the oscillation between such zeros and ones is too fast or too slow.
NIST Special Publication 800-22
The Special Publication 800-22, titled "A Statistical Test Suite for the Validation of Random Number Generators and Pseudo Random Number Generators for Cryptographic Applications" has been developed by NIST - Computer Security Division - Computer Security Resource Center - Random Number Generation Technical Working Group (RNG-TWG).
The paper provides aspects of selecting and testing random and pseudorandom number generators.
You can find in the book:
- Test Purpose - Function Call - Test Statistic and Reference Distribution - Test Description - Decision Rule (at the 1 % Level) - Conclusion and Interpretation of Test Results - Input Size Recommendations - Example - Technical description of the test - Testing strategy and result interpretation
Please refer to the book for original information.
References
[NIST] National Institute of Standards and Technology.
[NIST RNGT] NIST Random Number Generation and Testing.
[NIST RNGT Special Publication 800-22] Revised NIST Special Publication 800-22, " A Statistical Test Suite for the Validation of Random Number Generators and Pseudo Random Number Generators for Cryptographic Applications.


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