Quantum random number generators: the complete guide
A random number generator produces values that cannot be predicted by an observer who knows how the generator is built. Cryptography depends on that unpredictability more than on any algorithm choice: every key, nonce and initialisation vector is only as strong as the randomness it came from.
35 articles in 5 sections
Almost every failure people call a "crypto bug" is really a randomness bug. The algorithm did what it was specified to do, and the number fed into it was more predictable than anyone realised. That is why this section starts with the generator rather than the cipher.
The families, and why the distinction matters
Four terms get used interchangeably and should not be. A PRNG expands a seed deterministically. A CSPRNG does the same but is built so that observing its output does not let you predict the rest. A TRNG derives unpredictability from a physical process. A QRNG is a TRNG whose physical process is quantum, which means its unpredictability rests on a physical model rather than on an assumption that the process is too messy to model.
The practical consequence is not that one family is good and another bad. It is that they fail differently, and the evidence you can produce for each is different. The comparison is worth doing carefully, because a correctly seeded CSPRNG is entirely adequate for a great many systems.
Where the hard question actually is
Choosing a generator family is the easy part. The hard question is what evidence you have that the source is still behaving the way it did when it was characterised — not at the factory gate, but now, in the system you are running. That question is what the entropy pillar exists to answer, and it is where this section hands off.
No generator proves its own output is random, and nobody can make that claim. What can be established is a physical model of the source, an estimate of min-entropy conditional on that model, and runtime evidence that the source has not drifted away from it.
Where to start
If the terms are new, begin with the fundamentals below. If you want to know how a quantum source actually works, the technology section explains phase diffusion in enough detail to be checked. The maturity model gives you a way to grade any source, including ours — and the deployment and decision sections are for the point where you stop reading and start specifying.
Fundamentals
What a random number generator is, how the four families differ, and which one a given system actually needs.
Hardware RNG or software RNG, asking the question properly
The useful question is not hardware versus software but where unpredictability physically originates and what evidence exists about it. Every practical system uses both: a physical source to seed, and a deterministic algorithm to expand. The distinction that matters is whether the physical half is characterised or merely assumed.
QRNG vs TRNG vs PRNG, the differences that matter in production
A PRNG expands a seed, a TRNG measures a physical process, and a QRNG measures a quantum one. The difference that matters in production is not speed but evidence: a quantum source can be described by a physical model, which makes its entropy estimate something you can argue about rather than assert.
What is a CSPRNG, and where the DRBG fits
A CSPRNG is a deterministic algorithm that expands a seed into a long stream, built so that observing part of the output does not let an attacker compute the rest. In the NIST vocabulary the mechanism is a DRBG, and it sits downstream of an entropy source that seeds and reseeds it.
What is a random number generator?
A random number generator is any system that produces values an attacker cannot predict. In practice there are two broad kinds: deterministic generators that stretch a seed, and physical generators that extract unpredictability from a measurable process. Nearly every real system uses both together.
What is true randomness, and what quantum actually adds
Unpredictability and statistical uniformity are different properties, and only one of them matters for cryptography. A stream can pass every statistical test ever devised and still be entirely predictable. What quantum physics adds is not better statistics but a source whose unpredictability follows from a model you can state and check.
Quantum Random Number Generator (QRNG) - Explained
Quantum Random Number Generators (QRNGs) produce truly random numbers essential for encryption security. Learn what QRNGs are, how they work, and where they’re used in real-world applications.
Exploring RNG Types: Level 1 to Level 4 Random Number Generators
Discover the various RNG types, focusing on Level 4 RNGs and the importance of measuring entropy quality for the strongest cybersecurity foundation.
How Random Is Your Random? Explained Simply
Quside develops new-generation quantum technologies for secure connectivity and efficient computation.
Choosing the Right Type of RNG for Your Product’s Security
Quside specializes in new-generation quantum technologies, offering L4 RNG solutions for enhanced security and efficient connectivity in your products.
Pseudo Random Number Generator & unpredictability
Quside develops new-generation quantum technologies for secure connectivity and efficient computation.
How the technology works
Inside a quantum entropy source — the physics, the architectures compared, and what happens between the laser and the bits.
How phase-diffusion QRNG works, from laser to bits
A phase-diffusion QRNG derives randomness from spontaneous emission in a semiconductor laser driven repeatedly through its lasing threshold. Each pulse starts from vacuum fluctuations, so its optical phase is unpredictable, and interfering consecutive pulses converts that phase difference into a measurable voltage that can be digitised.
Inside a 1 Gbit/s hardware entropy pipeline
A hardware entropy pipeline has four stages: a physical source, digitisation, health testing, and conditioning that compresses raw output into full-entropy bits. Throughput at the output is set by the entropy per raw sample, not by the sampling rate, which is why the compression ratio is the number that governs the design.
Integrated photonic QRNG, how the source got small
Integrated photonic QRNG puts the laser, interferometer and detector onto a semiconductor die instead of assembling them from discrete optical components. That changes the economics: the source becomes something manufactured at wafer scale rather than aligned by hand, which is what makes per-device entropy viable in volume products.
QRNG technologies compared
The main QRNG architectures are photon path selection, vacuum fluctuation measurement, photon arrival timing and phase diffusion. They differ less in whether they are genuinely quantum than in generation rate, how cleanly the entropy can be modelled, and how well the optics integrate into a manufacturable device.
The four levels of RNG
A way to grade any source, and what separates one that was tested once from one you can check while it is running.
How to assess the maturity of an RNG
Assessing a random number generator means establishing four things: where unpredictability physically originates, what entropy estimate the vendor claims and what model it is conditional on, what evidence exists that the source still matches that model in service, and what the certification scope actually covers.
Level 3 vs Level 4, what observability adds
Level 3 means a physical entropy source was characterised during evaluation. Level 4 means the quantities its entropy model depends on are also measured while the system runs. The difference is whether your evidence describes the device on the day it was tested or the device that is generating your keys now.
The four levels of RNG, a maturity model for randomness
The four levels describe how much you can establish about a random number generator, from statistical output testing at Level 1 to a source with a physical entropy model that is monitored while it runs at Level 4. It is a maturity model for reasoning about assurance, not a certification scheme.
The 4 Levels of RNGs: How Random Is Your Random?
Quside develops new-generation quantum technologies for secure connectivity and efficient computation.
Level 4 RNGs: The Gold Standard in Randomness for Digital Trust
Discover how Quside's Level 4 Random Number Generators set the gold standard in digital trust, offering unparalleled security for post-quantum cryptography.
Level 3 RNGs: Engineering Real Randomness for a Secure Digital Future
Discover how Level 3 RNG technologies are used to ensure secure connectivity today, and how their lack of entropy observability is a risk for Digital Trust.
Level 2 RNGs: Why “Good Enough” Randomness Isn’t Good Enough
Understand why Level 2 RNGs are not "good enough" and how they fail to meet the demands for secure connectivity and efficient computation.
Level 1 RNGs: The Dangerous Illusion of Randomness in Cryptography
Explore the dangers of using Level 1 RNGs for cryptography, and how Quside innovates in quantum technologies for enhanced security in cryptography.
Unlocking True Randomness: How Quside and Deloitte Are Shaping the Future of Cybersecurity with Level 4 RNG
Quside leverages quantum RNG technology to develop next-generation solutions for secure connectivity and efficient computation in cybersecurity.
Deployment and integration
Throughput, form factors, driver integration and the HSM case — the questions that arrive once you start specifying.
Integrating a QRNG: C, Python, Rust and the Linux entropy path
On Linux a hardware entropy source is normally exposed through the kernel random subsystem, so applications keep calling getrandom() and inherit the better seed without changing. Direct access through a device interface or a library is available where an application needs entropy that has not passed through the kernel pool.
QRNG and QKD, two quantum technologies solving different problems
A QRNG generates unpredictable numbers locally, inside the device that needs them. QKD distributes a shared key between two locations over a dedicated optical link. They solve different problems, and Quside builds the first and not the second.
QRNG for HSMs and PKI
An HSM generates keys that protect everything else, so the entropy source inside it is the root of the whole hierarchy. What matters for an HSM or a certificate authority is not only that the source is physical, but that its entropy claim is evidenced within the module boundary and can be demonstrated during evaluation and audit.
QRNG form factors, from PCIe card to silicon IP
Quside supplies entropy sources as PCIe cards, FMC modules, embedded modules and licensable silicon IP. The choice is governed by where entropy needs to be generated relative to what consumes it, and by how many units you are building.
QRNG throughput explained, why 1 Gbit/s matters and when it does not
Entropy throughput matters only in relation to how fast a system consumes it. The sizing calculation is reseed interval multiplied by concurrent DRBG instances, plus any bulk consumption; for most workloads that lands far below a gigabit per second, and for a few it lands above it.
The Quantum Edge: Unlocking True Randomness in Gaming and Gambling. Explained Simply
Quside develops new-generation quantum technologies for secure connectivity and efficient computation.
Making Gaming and Gambling more fair through quantum random number generation
Quside develops new-generation quantum technologies for secure connectivity and efficient computation.
Monte Carlo and Randomness in Random Number Generator
Quside develops new-generation quantum technologies for secure connectivity and efficient computation.
Can quantum random number generators improve computational results?
Quside develops new-generation quantum technologies for secure connectivity and efficient computation.
Monte Carlo Method and Pi Approximation Day
Quside develops new-generation quantum technologies for secure connectivity and efficient computation.
Making the decision
Whether you need a quantum source at all, and the questions worth putting to any vendor before you buy one.
Do I need a QRNG? An honest answer
Often, no. A correctly seeded CSPRNG on a platform with a sound entropy source is adequate for most applications. A dedicated quantum entropy source earns its place when keys are long-lived, when you must produce evidence rather than assurances, when devices ship in volume without an operator, or when a regulator asks where randomness comes from.
QRNG buyer's guide, twelve questions to ask any vendor
Twelve questions to put to any entropy source vendor, covering the physical process, the entropy model and what it is conditional on, runtime evidence, certification scope, integration cost and supply continuity. The answers are more informative than any specification sheet.