NIST Logo and ITL Banner Link to the NIST Homepage Link to the ITL Homepage Link to the NIST Homepage
Search CSRC:

Download Documentation and Software

  • April 27, 2010: NIST Special Publication 800-22rev1a (dated April 2010), A Statistical Test Suite for the Validation of Random Number Generators and Pseudo Random Number Generators for Cryptographic Applications, that describes the test suite.
  • Download the NIST Statistical Test Suite.

    April 27, 2010: NIST has released a minor update to the tool. The update is called sts-2.1. The update fixes a problem with the Spectral Test. Additionally, it is recommended that the Spectral Test only be used for sequence lengths of 1,000,000 bits.

    August 11, 2010: NIST has released a minor update to the tool. The update is called sts-2.1.1. This update makes a minor change in the proportions value in the finalAnalysisReport.txt file. This value is now printed as a fraction of sequences passing the tests.

    Note: When using the samples from the data/ directory to derive the values from Appendix B the suite should be invoked with a stream length of 1,000,000 bits and there is one stream per file. For the tests that have parameters the default values should be used. Additionally, the results from the tables in Appendix B are not found in the finalAnalysisReport.txt file. They are in the results.txt files in the individual test directories (when running the sample data files these test directories are in the directory experiments/AlgorithmTesting/.

Software disclaimer: "This software was developed at the National Institute of Standards and Technology by employees of the Federal Government in the course of their official duties. Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain. The NIST Statistical Test Suite is an experimental system. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic. We would appreciate acknowledgment if the software is used."