Skip to main content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.


The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

User's Guide to Running the Draft NIST SP 800-90B Section 9 Entropy Estimation Tests



Timothy Hall, Kerry A. McKay


This is a brief introduction on how to run the Python command-line programs (hosted on GitHub at that implement the statistical entropy estimation tests found in Section 9 of the Draft NIST SP 800-90B (August 2012). It is not a description or explanation of the tests themselves. Please refer to the standard itself for definitions and descriptions of the tests and their rationales.


Entropy estimation, random number generation, random bit generation
Created March 10, 2015, Updated February 19, 2017