SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

NIST SP 800-90B

NIST Special Publication 800-90B, Recommendation for the Entropy Sources Used for Random Bit Generation, specifies design principles and requirements for the entropy sources that feed random bit generators, together with tests for validating those sources. NIST lists the final version as published on 10 January 2018. The entropy sources are intended to be combined with the deterministic random bit generator mechanisms in SP 800-90A to construct random bit generators as specified in SP 800-90C.1

The document models an entropy source as a noise source, an optional conditioning component and a health testing component. It calls the noise source the root of security: if it fails to generate random outputs, no other component can compensate for the lack of entropy.2 It measures entropy as min-entropy, defined as the minimum over outcomes of -log2 p_i, equivalently -log2 of the largest probability. If a variable has min-entropy H, no particular value has probability above 2^-H, and for k distinct values the maximum is log2 k, reached by the uniform distribution. The document describes this as a very conservative measure of the effectiveness of guessing the most likely output.2 Its Appendix D relates min-entropy to the cost of an optimal guessing attack, showing that the min-entropy differs from the base-2 logarithm of the optimal expected work per success by less than one bit.2

Validation works from data. A submitter collects at least 1,000,000 consecutive raw samples from the noise source and estimates min-entropy per sample on an IID track, which uses the most common value estimate, or on a non-IID track; the standard notes that the IID-track estimate typically overestimates when samples are not IID. Alphabets larger than 256 symbols are reduced to at most 256. Restart tests restart the source 1000 times and collect 1000 consecutive samples each time, because an estimate from one long sequence can overestimate if the source produces correlated sequences after restarts.2

Health tests are start-up, continuous and on-demand. The approved continuous tests are the Repetition Count Test, which detects a noise source stuck on a single value, and the Adaptive Proportion Test, which detects a large loss of entropy; the cutoff for the repetition test follows from the assessed min-entropy and an acceptable false-positive probability.2

NIST's publication page carries a planning note dated 29 May 2025 stating that two errata have been identified and will be corrected in a future update or revision.1

Source · SP 800-90B, Recommendation for the Entropy Sources Used for Random Bit Generation (opens in a new tab) · NIST Computer Security Resource Center

References

  1. SP 800-90B, Recommendation for the Entropy Sources Used for Random Bit Generation (opens in a new tab) · NIST Computer Security Resource Center · January 10, 2018 · Publication page; document history lists the final version as 01/10/18. ↩ ↩
  2. NIST SP 800-90B, Recommendation for the Entropy Sources Used for Random Bit Generation (opens in a new tab) · National Institute of Standards and Technology · January 10, 2018 ↩ ↩ ↩ ↩ ↩

Research articles

See what connects to it on the map of ideas →

See also