U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.


Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

SP 800-22 Rev. 1a

A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications

Date Published: April 2010

Supersedes: SP 800-22 Rev. 1 (08/01/2008)

Planning Note (1/13/2022): This publication is under review, and NIST has announced a decision proposal to REVISE this publication. Public comments will be accepted through February 14, 2022. See the full announcement and Crypto Publication Review Project for more details.


Andrew Rukhin (NIST), Juan Soto (NIST), James Nechvatal (NIST), Miles Smid (NIST), Elaine Barker (NIST), Stefan Leigh (NIST), Mark Levenson (NIST), Mark Vangel (NIST), David Banks (NIST), N. Heckert (NIST), James Dray (NIST), San Vo (NIST), Lawrence Bassham (NIST)



P-value; random number generator; hypothesis test; statistical tests
Control Families

Assessment, Authorization and Monitoring; System and Communications Protection


SP 800-22 Rev. 1a (DOI)
Local Download

Supplemental Material:
None available

Document History:
04/30/10: SP 800-22 Rev. 1a (Final)


Security and Privacy
random number generation; testing & validation