What is entropy in cryptography?

Entropy in cryptography is the unpredictability that keys and random values draw on. NIST and RFC 4086 define it, and it governs how secure key generation is in post-quantum systems.

On this page

What is entropy in cryptography and where do engineers meet it?

If a vendor document, standard or audit request uses the word entropy, it refers to the unpredictability that keys and random values draw on. In cryptography, entropy is used to quantify how hard a secret is to guess: a value with n bits of entropy carries the same uncertainty as a uniformly distributed n-bit random value, according to the NIST CSRC glossary. The defining sources are NIST SP 800-90B, which specifies design requirements and tests for entropy sources, and RFC 4086, Randomness Requirements for Security, which explains why secrets such as keys must be unguessable by an adversary.

Engineers, auditors and procurement reviewers meet the term in three main places. The first is key generation, where the question is whether the random bit generator feeding a key is seeded from an adequate entropy source. The second is entropy source reports, which document the noise source, health tests and any conditioning component that produce random bitstrings. The third is FIPS 140 module submissions: since 7 November 2020, NIST's CMVP says FIPS 140-2 and FIPS 140-3 submissions must include documentation of conformance to SP 800-90B where applicable, so a reviewer may ask to see that evidence in a vendor's validation paperwork.

For planning purposes, the practical step is to ask a vendor which entropy source and random bit generator their module uses, and to confirm whether the submission documents SP 800-90B conformance. RFC 4086 notes that a seed with little entropy, such as the system clock, can leave keys guessable, and that complex processing does not repair this. Confirm the exact standard version and module version your product runs, since the sources listed here do not establish that a particular implementation meets these requirements.

Which names and document numbers refer to entropy and its measures?

This table lists the entropy terms and the NIST and IETF documents that define them, with each document's wording and the measure it uses. The definitions differ in wording across documents, so use the one your own standard or assessor cites. Min-entropy is the measure SP 800-90A Rev. 1 and SP 800-90B use.

Term or documentSource and statusHow it is defined or used
EntropyNIST CSRC Glossary, entry as cited by SP 800-90A Rev. 1 and SP 800-90BA measure of the disorder, randomness or variability in a closed system. Min-entropy is the measure used in SP 800-90A Rev. 1.
Entropy (SP 800-63-4)NIST CSRC Glossary, citing SP 800-63-4The uncertainty an attacker faces in determining a secret, usually stated in bits. A value with n bits of entropy has the same uncertainty as a uniformly distributed n-bit random value.
Entropy (SP 800-133 Rev. 2)NIST CSRC Glossary, citing SP 800-133 Rev. 2Uses the same disorder, randomness and variability wording and points to SP 800-90B for the method.
Entropy (NIST IR 8427 and SP 800-22 Rev. 1a)NIST CSRC Glossary, citing NIST IR 8427 and SP 800-22 Rev. 1aNIST IR 8427 describes it as randomness or uncertainty of a random variable. SP 800-22 Rev. 1a describes it as disorder or randomness in a closed system.
Min-entropyMeasure used in SP 800-90A Rev. 1 and SP 800-90BThe entropy measure these two documents use for entropy sources. Check the document's own definition for the exact formula before you cite it.
Entropy sourceNIST CSRC Glossary, citing SP 800-90BA noise source, health tests and an optional conditioning component that together produce random bitstrings for a random bit generator. Noise source examples include thermal noise and hard drive seek times.
RFC 4086 (BCP 106)IETF, June 2005, obsoletes RFC 1750Describes the randomness that secrets such as passwords and keys depend on. Its guidance is about unguessability, not what a statistical test shows.
SP 800-90B conformanceNIST CMVP Entropy Validations pageSince 7 November 2020, FIPS 140-2 and FIPS 140-3 module submissions must document conformance to SP 800-90B where applicable.

Where does entropy appear in products and audit requests?

Entropy rarely appears as a standalone feature. It shows up inside the components that generate keys and secrets, in the evidence vendors submit for validation, and in the policies that govern passwords and device setup. The cards below cover where a practitioner is most likely to see the term and what to verify in each place.

Hardware random number sources

Hardware security modules and cryptographic modules often include an entropy source built on a physical process such as thermal noise. The entropy source is a combination of a noise source, health tests and an optional conditioning component that feeds a random bit generator. When reviewing a module, check whether its documentation describes the noise source, how its health tests run, and whether the output is conditioned. Ask the vendor to name the entropy source, not just the random number generator built on top of it.

SP 800-90B text

FIPS 140-2 and 140-3 submissions

Since 7 November 2020, FIPS 140-2 and FIPS 140-3 module submissions must include documentation of conformance to SP 800-90B where applicable. Reviewers meet entropy in the security policy and the entropy documentation that accompanies a submission. A listing on the validation register confirms the module's validation status, not that any specific deployment matches the tested configuration, so check the exact module, version and firmware named in the certificate.

CMVP entropy validations

Key generation libraries

Application cryptographic libraries call a random source whenever they generate keys, nonces or salts. The entropy question here is which source the library uses, how it seeds itself at startup, and whether a fallback exists when the preferred source is unavailable. Review the library's documentation for its randomness source and check how it behaves in containers, virtual machines and early boot, where entropy can be scarce. Confirm this behavior for the exact library version you run.

Device provisioning

During manufacturing or first setup, devices often generate keys and identity material. A device with little entropy at that moment can produce predictable keys, and the cause is often a freshly booted system that has not yet gathered enough randomness. Provisioning reviews should confirm where the device draws entropy during first boot, whether keys are generated on the device or imported, and how the process is tested. Ask suppliers to document this step as part of their secure provisioning procedure.

Password and secret policy reviews

Policy reviews use entropy to judge how hard a password or secret is to guess. NIST's SP 800-63-4 describes entropy as the uncertainty an attacker faces in determining a secret, usually stated in bits. A review should check whether generated secrets, such as API tokens or recovery codes, come from a cryptographically strong source rather than a user-chosen or predictable one. Confirm the secret generation method in your own system and do not rely on a bit count alone.

NIST entropy glossary

How does entropy feed key generation and random bit generators?

Entropy reaches a key through a chain of components, and each link can weaken the result. An entropy source is the part that produces raw unpredictable bits. NIST describes it as a combination of a noise source, health tests and an optional conditioning component, and the output feeds a random bit generator. The noise source examples NIST gives from SP 800-90A Rev. 1 are thermal noise and hard drive seek times. The health tests watch the noise source for failures, and conditioning, where used, post-processes the bits. Engineers reviewing a device should ask which noise source it uses, whether health tests run continuously, and whether conditioning is applied, then check the entropy source against SP 800-90B, which sets the design requirements and validation tests for these sources.

A random bit generator then expands a seed of entropy into the longer stream of bits used for keys and nonces. RFC 4086 recommends gathering entropy from several uncorrelated sources, combining them with a strong mixing function, and then expanding the seed with a cryptographically strong generator. The same document warns that a seed with little entropy, such as the system clock, can leave keys guessable because the search space is small, and that complex processing does not repair this. A generator with a strong algorithm cannot add unpredictability that the seed never contained. For a platform review, the question to ask is how many bits of entropy the seed holds at start-up, and whether the platform has a way to gather more before keys are generated.

Statistical tests are useful but do not settle the matter. RFC 4086 states that passing or failing statistical tests does not reveal whether something is unpredictable or predictable. A stream can pass every statistical check and still come from a predictable process, so a clean test report is not evidence of unpredictability on its own. Reviewers should look for the design documentation, the SP 800-90B assessment of the entropy source, and any conformance evidence the module provides. NIST's CMVP entropy validations page notes that FIPS 140-2 and FIPS 140-3 submissions since 7 November 2020 must include documentation of conformance to SP 800-90B where applicable. Ask the vendor for that documentation rather than accepting test output as proof.

What is the standardization status of the entropy guidance?

The entropy guidance behind most key generation is a family of NIST publications, and their status differs. SP 800-90A Rev. 1 is final, dated June 2015, and specifies deterministic random bit generator mechanisms built on hash functions or block ciphers. It supersedes the 23 January 2012 version. SP 800-90B is final as of January 2018 and sets design principles, requirements and validation tests for the entropy sources that feed those generators. SP 800-90C, Recommendation for Random Bit Generator (RBG) Constructions, was published as a final document on 25 September 2025 and defines the RBG1, RBG2, RBG3 and RBGC classes that combine the SP 800-90A mechanisms with SP 800-90B sources. NIST IR 8446, final on 29 January 2026, compares the SP 800-90 series with the German BSI's AIS 20/31 on terminology, assumptions and requirements.

Who must follow this depends on the system. NIST's CMVP page, updated 4 December 2026, states that since 7 November 2020, submissions for FIPS 140-2 and FIPS 140-3 validation must include documentation of conformance to SP 800-90B where applicable. Teams that need a validated module, usually in federal or regulated deployments, should therefore expect entropy source evidence to be checked against that document. The guidance binds federal systems and validated modules through those programs. It does not by itself impose a binding obligation on a commercial organization, though a contract or an assessor may require it. Confirm with your customer or assessor which document applies to your module and version.

RFC 4086, Randomness Requirements for Security, is a Best Current Practice from June 2005 (BCP 106). It is an IETF recommendation rather than a NIST standard, and it describes why unguessable seeds matter and how to combine several uncorrelated sources. Use it alongside the NIST documents when you review how a device or service gathers entropy at start-up. For any post-quantum migration, the NIST post-quantum standards FIPS 203, FIPS 204 and FIPS 205 are separate from this entropy guidance, so confirm that your generator meets both sets of requirements.

What should a migration team check about entropy in its trusted systems?

This sequence establishes where each system gets its random values, whether that source is documented and validated, and whether post-quantum key generation relies on the same source. The result is a written record a reviewer can check against each module's certificate and each vendor's answer.

  1. Inventory where keys and nonces are generated

    The team lists every system that creates keys, nonces, initialization vectors or session secrets, including hardware security modules, TLS terminators, certificate authorities, key management services, application libraries and embedded devices. For each entry, record the component, its version and the function that calls the random source. This inventory is the baseline for every later step. It is complete when each system that generates key material appears on the list with an owner and a version, and when a reviewer can trace each entry back to the component that produces its randomness.

  2. Identify the random source for each system

    For each inventory entry, the team determines which random number generator the system uses, whether it is an operating system interface, a library deterministic random bit generator, a hardware true random number generator or a module's built-in generator. Engineers confirm this from configuration, documentation or the vendor's technical specification, not from assumption. The output is a column in the inventory naming the source for each system. A system is ready for the next step only when its source is named and traceable to a specific component.

  3. Confirm the entropy source and SP 800-90B documentation

    For each validated cryptographic module, the team asks the vendor for the entropy source documentation that addresses NIST SP 800-90B, and confirms that the module's validation submission documents conformance to SP 800-90B where that applies. NIST's CMVP entropy validations page states that, since 7 November 2020, FIPS 140-2 and FIPS 140-3 submissions must include this documentation where applicable, so older modules may differ. The team records the documentation reference and the validation certificate number for each module. A module is confirmed only when the entropy documentation is on file and linked to the certificate.

  4. Check start-up seeding and reseeding practices

    The team reviews how each generator is seeded at start-up and how often it reseeds, and compares those practices against the guidance in RFC 4086, which describes randomness requirements for security. RFC 4086 warns that a seed with little entropy, such as the system clock, can leave keys guessable, and it notes that a few hundred random bits obtained at start-up or once a day can be enough when a strong generator is used. Engineers note any system that starts with a predictable seed, such as a virtual machine image cloned without reseeding. Each system is marked as reviewed with its seeding behavior written down, and any gap is logged as a finding.

  5. Ask vendors which SP 800-90 constructions they follow

    The team sends each vendor a written question asking which constructions from the SP 800-90 series its random bit generators follow. The relevant documents are SP 800-90A Revision 1 for deterministic generator mechanisms, SP 800-90B for entropy sources, and SP 800-90C for constructions that combine the two. Procurement also asks for the CMVP certificate references that cover those generators. The vendor's answer should name the document, the section or construction, and the certificate. Each reply is filed with the inventory. A vendor answer that does not name a document or certificate is recorded as unconfirmed rather than accepted.

  6. Confirm post-quantum key generation uses the same source

    The team checks whether the key generation for post-quantum algorithms, including ML-KEM under FIPS 203, ML-DSA under FIPS 204 and SLH-DSA under FIPS 205, draws on the same validated entropy source as the classical keys in the inventory. Engineers confirm this in the configuration of each library or module, and they ask vendors to state it in writing. Where a post-quantum key path calls a different generator, the team records it as a separate entry and assesses it against the same criteria used above. The step is complete when every post-quantum key generation path in the inventory has a named source and a matching validation reference.

  7. Record findings and confirm the evidence file

    The team collects the inventory, source identifications, SP 800-90B documentation, certificate references, vendor replies, seeding reviews and post-quantum source checks into one evidence file. Each finding is listed with the system, the gap and the owner responsible for closing it. The file does not state that any system is compliant. It records what was confirmed, by which document, and what remains open. Reviewers can then verify each claim against the cited certificate or specification. The sequence is finished when the file is complete and every open item has an owner.

Which confusions about entropy do vendor documents and tenders create?

Vendor documents and tender responses often use the word entropy loosely, which makes it hard to tell what a module actually guarantees. The cards below separate the measures, components and validation claims that are most often conflated, so reviewers can ask precise questions before relying on a key generator.

Entropy as one unnamed number

A document may state that a source provides a given number of bits of entropy without naming the measure. In the NIST glossary, SP 800-90B uses min-entropy, while the SP 800-63-4 definition describes bits of uncertainty an attacker faces. These are not interchangeable, so a bare figure tells you little. Ask which measure is used, how it was estimated, and whether the figure is per bit or per sample.

NIST entropy glossary

Random bit generator is not the entropy source

A random bit generator and its entropy source are different components. The NIST glossary describes the entropy source as noise source, health tests and optional conditioning, which feeds a random bit generator. Vendors sometimes present the generator's output as if its quality were the source's quality. Ask for the entropy source description and its test results separately from the generator's design.

Entropy source glossary

Passing statistical tests as proof

A generator that passes statistical tests has not thereby been shown to be unpredictable. RFC 4086 states that passing or failing statistical tests does not reveal whether something is predictable. Tests can catch some defects but cannot establish that secret values are unguessable. Ask what the tests were, what they were meant to detect, and what evidence supports the claim of unpredictability beyond them.

RFC 4086

Confusing SP 800-90A with SP 800-90B

SP 800-90A specifies deterministic random bit generator mechanisms, while SP 800-90B specifies design principles, requirements and validation tests for entropy sources. A tender that cites only one of them does not cover the other. Check which document the vendor claims conformance to for the generator and which for the entropy source, and whether both are addressed.

SP 800-90B

Validation as a verdict on entropy

A module's validation certificate does not by itself settle how good its entropy is. NIST's CMVP page says that FIPS 140-2 and FIPS 140-3 submissions since 7 November 2020 must include documentation of conformance to SP 800-90B where applicable. Read the security policy and entropy documentation for the specific module and version, and confirm which entropy source was assessed.

CMVP entropy validations

What do people search about entropy in cryptography?

What does entropy mean in cryptography?

In cryptography, entropy is the amount of uncertainty an attacker faces when trying to determine a secret value, usually stated in bits. A value with n bits of entropy has the same uncertainty as a uniformly distributed n-bit random value. NIST's glossary gives this meaning in SP 800-63-4, and a broader definition in SP 800-90B describes entropy as a measure of disorder, randomness or variability in a closed system. For engineers, the practical point is that a key is only as strong as the unpredictability of the value it was generated from. Entropy describes how hard a secret is to guess, not how long it is.

Is min-entropy the same as entropy?

No. Min-entropy is one specific measure of entropy, and it is the measure used in NIST SP 800-90B. The NIST glossary states that min-entropy is the measure used in SP 800-90B, so when a document in that series talks about entropy, the reader should check which measure it means. Min-entropy is generally the more conservative figure because it reflects the most likely outcome an attacker could exploit. Reviewers should confirm in each source which definition applies before comparing numbers.

Is entropy a standardized term in NIST and IETF documents?

Yes, the term is defined in several NIST documents, and the definitions differ in wording and scope. The NIST CSRC glossary lists entries from SP 800-90A Rev. 1, SP 800-63-4, SP 800-133 Rev. 2, NIST IR 8427 and SP 800-22 Rev. 1a. On the IETF side, RFC 4086, Randomness Requirements for Security (BCP 106, June 2005), describes the randomness that secrets such as passwords and keys depend on. It does not supply a single formal definition, but it explains why unpredictability, not just statistical test results, matters. Cite the specific document and section when writing a compliance answer.

How do I check whether a product's random number generation uses a proper entropy source?

Start by asking the vendor for its entropy source documentation, including whether it follows NIST SP 800-90B and which DRBG mechanism it uses from SP 800-90A Rev. 1. For validated modules, the NIST CMVP entropy validations page lists submissions, and since 7 November 2020 FIPS 140-2 and FIPS 140-3 submissions must document conformance to SP 800-90B where applicable. Check the module's certificate and security policy rather than relying on marketing claims. In your own environment, confirm which module and version actually runs in production, because a certificate covers a specific version and configuration only.

Does post-quantum key generation change how entropy is needed?

The NIST post-quantum standards FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) were published as final on 13 August 2024, and each depends on a source of random values for key generation. The sources supplied for this page do not say that these algorithms require more or different entropy than classical ones, so do not assume a change without checking each standard. What the sources do cover is the surrounding requirement: the random bit generator and its entropy source must still meet SP 800-90A and SP 800-90B. Confirm with your implementation's documentation how it sources randomness for each post-quantum key type.

What should I ask a vendor about its entropy source?

Ask what the entropy source is built from, which noise sources it uses, and how its health tests detect failure. NIST's glossary describes an SP 800-90B entropy source as a noise source, health tests and an optional conditioning component, and gives thermal noise and hard drive seek times as examples of noise sources. Ask which DRBG mechanism it uses under SP 800-90A Rev. 1, and whether it follows SP 800-90C for its RBG construction, which was published on 25 September 2025. Request the validation evidence and the version it applies to. RFC 4086 adds that entropy should come from several uncorrelated sources, so ask how multiple sources are combined.

What goes wrong when a system has too little entropy?

RFC 4086 warns that a seed with little entropy, such as the system clock, can leave keys guessable because the search space is small, and that complex processing afterwards does not fix this. Passing statistical tests does not prove that a value is unpredictable, so a generator can look random and still be weak. Common failure points include virtual machines that boot with little accumulated randomness and embedded devices with few physical noise sources. Test your deployment's start-up behavior, and confirm with the vendor how the generator is seeded before the first key is created.

Where can I read the standards that define entropy and random bit generators?

Start with the NIST CSRC glossary entry for entropy, which links the definitions from each source document. For the design of generators, read SP 800-90A Rev. 1, which specifies deterministic random bit generator mechanisms built on hash functions or block ciphers. For entropy sources and their testing, read SP 800-90B, published as final in January 2018. For constructions that combine the two, read SP 800-90C. Read RFC 4086 for the reasoning behind randomness requirements. Each is free to download from the NIST and RFC Editor sites, and the exact requirements should be taken from the documents themselves.

How DeployOpen works on this

DeployOpen helps teams review where their keys and random values come from during a post-quantum migration. The work covers the entropy sources and random bit generators behind key generation, with a written scope agreed before work starts and a handover that your security and compliance teams can review.

How we scope

  • Inventory every system that generates keys, nonces or random values and records which generator it uses.
  • Confirm which entropy sources each platform draws on, including any hardware or virtualized sources.
  • Agree the scope in writing, including which modules and versions are in and out, before work starts.

How we build

  • Configure the self-hosted platforms in your infrastructure to use the random bit generators your scope names.
  • Check that entropy sources and their health tests are set up as the vendor documentation describes.
  • Confirm that seeding and reseeding happen at the points your design and the vendor documentation call for.

How we hand over

  • Deliver a written record of each generator, entropy source and key generation path reviewed, with the version tested.
  • Provide evidence of the configuration settings and where they live, so your auditors can trace each one.
  • Document open questions and the vendor or standards documents to confirm for the versions you run.

How we support

  • Offer ongoing support as a retainer to review entropy configuration again after upgrades or new deployments.
  • Retest key generation paths when a platform version changes, using the same scope and evidence format.
  • Walk your security and platform teams through the findings so they can maintain the setup afterward.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.