QuantumAtlas

Myth 29 of 50 · Security and Cryptography

“You need quantum random numbers to have secure encryption”

Verdict: Mostly false

The short answer

Well-designed conventional random number generators seeded from good hardware entropy are secure. Real-world failures came from flawed implementations and backdoors, not from the lack of quantum physics, so quantum generators are an optional extra layer.

Where the myth comes from

Quantum random number generators are marketed as truly random, with true randomness from quantum mechanics, in contrast to the pseudo-random numbers of computers, which are described as predictable and therefore insecure. The conclusion that encryption needs quantum randomness follows naturally. Telecom operators and phone makers advertise chips with quantum random generators, and some articles suggest that without them, keys are weak.

The distinction between true and pseudo randomness is real in theory, but it has little practical bearing on the security of well-engineered systems. What matters is unpredictability to an attacker, which can be achieved in several ways.

How computers generate secure random numbers

Modern operating systems collect entropy from physical processes: timing of interrupts, hardware noise sources in processors, thermal noise in circuits, and other unpredictable events. They feed it into a cryptographically secure pseudo-random generator, which expands a small, truly unpredictable seed into a large stream of bits that cannot be distinguished from random by any feasible computation. NIST's Special Publications 800-90A, B, and C specify the designs, the testing of entropy sources, and their combination. As long as the seed has enough entropy, for instance 128 bits, the output is secure for any practical purpose, including generating keys for cryptography that resists quantum computers.

A quantum random generator is a different entropy source: a physical process, such as photon detection at a beam splitter, whose unpredictability follows from quantum theory. It is a good source, with a clear physical model, and it can supply entropy at high rates. But a conventional hardware source that is well designed and tested serves equally well in practice.

How randomness actually fails

Real-world failures have not come from the absence of quantum physics. In 2006, a change to the Debian distribution of OpenSSL removed essential entropy collection and left only 32,768 possible keys, an error not found until 2008. In 2012, Heninger and coauthors scanned the internet and found that a notable fraction of RSA keys on network devices shared factors or were duplicates, because devices generated keys at boot time before they had collected enough entropy. In 2013 it became public that the Dual_EC_DRBG generator, standardized by NIST, contained a possible backdoor, as analyzed by Bernstein, Lange, and Niederhagen. In each case, the problem was a design or implementation flaw, and a quantum source would only have helped if it had been included correctly, which was the real issue.

These examples show that the key practice is sound engineering: collect entropy from multiple sources, wait until enough is available, test it, mix it, and avoid untrusted designs.

What quantum generators add

Quantum generators offer advantages in some settings. They provide a physical source whose entropy can be modeled and tested, which helps in certification of high-assurance systems. They can produce high rates of random bits for applications such as simulation, lotteries, and gaming. Device-independent and certified randomness protocols, based on Bell tests or verifiable quantum computations, can prove that bits are fresh and unpredictable to an outside auditor, which conventional sources cannot do. Such proofs matter for public randomness beacons, auditing, and some regulatory contexts. But these are specialized benefits.

For ordinary encryption, a quantum source is a defense in depth: an additional entropy input that can be mixed with others. It is not a requirement, and its absence does not make a properly built system insecure.

The grain of truth

Randomness is crucial to cryptography, and weak randomness has caused serious breaches. Quantum sources can make the physical basis of randomness clearer and, in the certified case, verifiable. For high-assurance applications, they are attractive. The statement that you need them for secure encryption is wrong in general.

What to do in practice

For a developer or administrator, the practical advice is short. Use the random number interface of the operating system or of a well-reviewed cryptographic library, such as the system generator and the default functions of modern languages, and never write your own. On virtual machines and embedded devices, make sure the system has enough entropy before generating long-lived keys, for example by using hardware generators available in the processor or a trusted platform module. Avoid seeding from the clock or from predictable values. For systems with the highest assurance requirements, add a second independent entropy source, which could be a quantum device, and combine them so that the output is secure if either source is good.

These steps defend against the failures that have occurred in practice, and they cost far less than replacing infrastructure. Where an audit or regulation asks for evidence of entropy quality, test the source according to NIST SP 800-90B, and keep records. If a quantum generator is chosen, treat it as one component in a design that has been reviewed, and not as a guarantee on its own.

Why the myth matters

The myth leads buyers to spend money on quantum random number products where improving operating system entropy handling would be sufficient, and it directs attention away from the practical failures, which are in implementation. It also confuses the question of defending against quantum computers: random numbers do not protect against Shor's algorithm, and replacing a random number generator does not make RSA quantum-safe. Post-quantum cryptography addresses that threat.

How to answer the myth

Say that security requires unpredictability to the attacker, and that standard operating system generators provide it when properly implemented. Ask what problem the quantum source solves in this case: is it certification, a regulatory requirement, or just marketing? Recommend that systems use the generators provided by modern operating systems and cryptographic libraries, avoid custom designs, and test entropy in constrained devices.

Our verdict

Mostly false. Secure encryption does not require quantum random numbers. Conventional generators with good entropy sources are adequate, and quantum generators are a useful option for high-assurance and auditable uses.

Quick facts

  • NIST SP 800-90A, B, and C specify secure random number generation and entropy testing.
  • A 2006 Debian OpenSSL change left only 32,768 possible keys until 2008.
  • Heninger and coauthors found widespread weak RSA keys from low-entropy devices in 2012.
  • Certified randomness protocols can prove freshness to an outside auditor.

How to spot and answer this myth

  • Watch for claims that pseudo-random numbers are insecure by definition.
  • Ask what failure the quantum source is meant to prevent.
  • Check how the system collects and tests entropy.
  • Notice if randomness is confused with protection against quantum attacks.

Frequently asked questions

Are pseudo-random numbers secure?

Cryptographically secure generators seeded with good entropy are secure for practical purposes.

Why use a quantum random number generator?

For a clear physical entropy source, high rates, certification needs, or auditable randomness.

Does quantum randomness protect against quantum computers?

No. That requires post-quantum algorithms.

References

  1. Herrero-Collantes, M., & Garcia-Escartin, J. C. (2017). Quantum random number generators. Reviews of Modern Physics, 89, 015004.
  2. National Institute of Standards and Technology (2018). NIST Special Publication 800-90B: Recommendation for the entropy sources used for random bit generation.
  3. Heninger, N., Durumeric, Z., Wustrow, E., & Halderman, J. A. (2012). Mining your Ps and Qs: Detection of widespread weak keys in network devices. USENIX Security Symposium, 205-220.
  4. Bernstein, D. J., Lange, T., & Niederhagen, R. (2016). Dual EC: A standardized back door. In The New Codebreakers, LNCS 9100, 256-281.
  5. Pironio, S., et al. (2010). Random numbers certified by Bell's theorem. Nature, 464, 1021-1024.
  6. Liu, M., et al. (2025). Certified randomness using a trapped-ion quantum processor. Nature, 640, 343-348.

Keep exploring

This page summarizes published research and expert consensus as of 2026 for education. Details change as experiments and standards evolve, so check the references before citing. It is not investment, legal, or security advice.