Random Bitstream Tester

This is NOT and official release of the NIST Statistical Test Suite for Random and Pseudorandom Number Generators

The original testing algorithms wirtten in C are available on the official NIST website

The description of each test and how the bit sequence is tested is available in this PDF document published by NIST

The implementation of the statistical tests in JavaScript and the webpage design were done by Zsolt Molnár

Page source code available on GitHub



Bitstream input

Select the input type

Input bitstream





Tests

Test name

Result value (P-value)

Status


1. Frequency (Monobit) Test

N / A

2. Frequency Test within a Block

N / A

3. Runs Test

N / A

4. Test for the Longest Run of Ones in a Block

N / A

5. Binary Matrix Rank Test

N / A

6. Non-overlapping Template Matching Test

N / A

7. Overlapping Template Matching Test

N / A

8. Maurer’s “Universal Statistical” Test

N / A

9. Linear Complexity Test

N / A

10. Serial Test


N / A

11. Approximate Entropy Test

N / A

12. Cumulative Sums (Cusum) Test


N / A

13. Random Excursions Test

N / A

14. Random Excursions Variant Test

N / A