QKD vs QRNG: key distribution and random number generation

QKD distributes keys over quantum links, while QRNG produces random numbers from quantum effects. This page sets out what each does, where each fits and how to choose between them.

On this page

QKD vs QRNG: what each one does and which one your design needs

Quantum key distribution (QKD) distributes keys between two parties over a quantum channel, while quantum random number generation (QRNG) generates random numbers from quantum processes. The key distinction is distribution versus generation: QKD is about moving a shared secret between parties, and QRNG is about producing unpredictable values on one device. Readers usually meet the two terms in a vendor document, a tender response or a design review where a product claims a quantum feature, and the first task is to establish which of the two functions the product actually performs. Neither term is a substitute for the other, and neither one is, on its own, a response to the post-quantum migration question.

The person who meets this question is usually a security architect, a network engineer or a procurement reviewer who has been asked whether a system is quantum-secure, and who needs to answer for one specific function. A QKD product needs a dedicated optical or quantum link between sites, and the reader should confirm the distance, the hardware and the operating conditions the vendor documentation describes. A QRNG product supplies random bits to a host, and the reader should confirm the entropy source, the interface, and whether the vendor publishes independent testing of its output. Each technology serves a different design question, so the decision starts with what the system must protect and where the keys or random values are needed.

The NIST documents on this page concern a different question: which algorithms replace public-key key establishment and digital signatures. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) were published on 13 August 2024, and NIST IR 8547 describes NIST's plan for moving from quantum-vulnerable algorithms to post-quantum signature and key-establishment schemes. Neither QKD nor QRNG appears as a replacement for those algorithms in that plan. Reviewers should therefore check whether a vendor claim refers to a QKD or QRNG product, a post-quantum algorithm, or both, and should ask the vendor to state which function its quantum feature provides and which published standard, if any, it follows.

How QKD and QRNG differ on purpose, output and where they appear

This table compares quantum key distribution (QKD) and quantum random number generation (QRNG) on what each is for, what it outputs and where the sources place it. Read each row as a separate question, and note where the sources listed on this page do not say. The main takeaway is that QKD distributes keys over quantum links, while QRNG produces random numbers, so the two are not interchangeable in a design.

AttributeQKDQRNG
What it isA method for distributing keys over a quantum channel, as a key distribution techniqueA method for producing random numbers from quantum effects, as a random number source
PurposeEstablishing shared keys between partiesSupplying random values for cryptographic and other uses
What it outputsShared key material between two endpointsRandom bits or numbers
Standards coverage in the sourcesThe sources listed on this page do not say which standard, if any, defines QKDThe sources listed on this page do not say which standard, if any, defines QRNG
Relation to NIST post-quantum standardsFIPS 203, FIPS 204 and FIPS 205 cover algorithms that run on classical computers, not QKDFIPS 203, FIPS 204 and FIPS 205 cover algorithms that run on classical computers, not QRNG
Where the sources place itQuantum links between endpoints, as distinct from post-quantum algorithmsRandom number generation in cryptographic and other systems
Confirm before designCheck the QKD vendor's documentation for its supported distances, hardware and interoperabilityCheck the QRNG vendor's documentation for its entropy source, certification and output format

What QKD is and what QRNG is

Quantum key distribution (QKD) is a method for two parties to establish shared secret key material over a communication channel. Its function is key distribution: one site sends key material to another, and both sites then use that key with a conventional symmetric cipher. QKD works from the output of a dedicated quantum channel and a classical channel used for reconciliation between the two endpoints, so it needs physical links and endpoint hardware that a standard network does not provide. Practitioners most often meet QKD in discussions of dedicated fiber links between data centers, government networks and research deployments.

  • Function: distributes key material between two endpoints; it does not encrypt data or sign messages by itself.
  • Input: a quantum channel and a classical channel between two fixed sites.
  • Infrastructure: dedicated links and specialized transmitter and receiver hardware, usually placed under a service or project contract.
  • Where it appears: site-to-site links, national or research networks and vendor products offering key distribution services.
  • Standards position: the NIST post-quantum documents named in this section address post-quantum algorithms, not QKD.

Before relying on a QKD product, confirm its endpoints, link distance, the classical protocol it uses and whether the vendor's claims have been checked by an independent assessor.

Which differences change a design decision

QKD and QRNG both involve quantum physics, but they answer different questions in a system. The differences below affect what a team builds, what it must connect to, how it proves the design works, and whether either option replaces the post-quantum algorithms named in NIST's standards.

Shared key or random bits

QKD is a key distribution method: its output is a shared secret key between two parties. QRNG is a source of random bits, which a system can use as input to its own key generation or other cryptographic functions. Before selecting either, confirm which of these your system actually needs, because a random number source does not by itself establish a key with a remote party. Check whether the design requires a key agreed with another endpoint or only unpredictable values generated locally.

Whether a quantum link is needed

QKD requires a dedicated quantum channel between the communicating parties, so deployment depends on physical links and the equipment at each end. QRNG does not need a link to another party, because its randomness is produced locally in the device. This difference shapes network planning, site placement and the number of endpoints a design can support. Confirm the link and equipment requirements with the vendor before estimating the infrastructure involved.

How each is assessed

Reviewers assess these technologies against different criteria, so the evidence a team gathers should match the component in use. A random number source is evaluated for the quality and independence of its output, while a key distribution system is evaluated for how it establishes and protects the shared key over the link. The sources listed on this page do not define a single assessment regime for either technology. Ask the vendor which evaluation or certification applies to the specific product and version.

Whether either replaces post-quantum algorithms

Neither technology is a substitute for the post-quantum algorithms that NIST has standardized. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) were published on 13 August 2024, and NIST's project page says they can and should be put into use now. A design that relies on QKD or QRNG should still plan for these standards, and the transition plan in NIR IR 8547 describes the move to post-quantum key establishment and signature schemes.

FIPS 203 to 205 published
13 Aug 2024
NIST IR 8547

Who operates the component

The operational responsibility for each technology sits in a different place. A QKD system involves hardware at both ends of a link and usually depends on the vendor or service provider for its setup and maintenance. A QRNG device is typically integrated into a host system and must be monitored for the continued quality of its output. Confirm who maintains the device, how failures are detected and who is responsible for updates before committing to either.

Where QKD and QRNG show up in products, protocols and tenders

Quantum key distribution (QKD) and quantum random number generation (QRNG) appear in different parts of a product stack, so the first step is to find which one a vendor or tender means. QKD is a key distribution method that runs over quantum links, typically in quantum networks where photons carry key material between sites. It is usually discussed in network architecture, key management and dedicated hardware proposals. QRNG is a random number source, usually a device or chip that produces entropy from quantum measurements, and it is more often listed as a feature of a hardware security module, a random number generator in a device, or a cryptographic library. When a document names a quantum product without stating which, ask the vendor to name the component, the interface it exposes and the function it serves.

Vendor documentation and tenders are where the two terms most often blur. A tender or questionnaire may ask about "quantum-safe key exchange" or "quantum random numbers" in one line, and the answer may describe a different thing than the reader assumes. For each claim, confirm the exact product, version and edition, the component that performs the function, and whether the feature is a shipped capability, a roadmap item or a pilot. The sources listed on this page do not give version or date details for specific vendor products, so confirm those against the vendor's own documentation and release notes. Keep the answer in writing and tie it to a named component, so the reviewer can check it against the design.

How to work out which technology applies to your system

This sequence sorts a stated requirement into either quantum key distribution or quantum random number generation by checking what the requirement asks for, where keys are generated and distributed in your system, and what each product actually outputs. It ends with a configuration check that you can confirm in your own environment.

  1. Check the requirement or contract for the term used

    Read the clause, tender line or security requirement exactly as written and note the term it uses, such as QKD, QRNG, quantum-safe or post-quantum. Ask the author what outcome the term is meant to deliver: a distributed shared key, a source of random bits, or protection against a future attack on public-key algorithms. Record the answer in writing. This step is done when each term in the requirement has a stated purpose that you can point to in the document.

  2. Map key generation and distribution points in your inventory

    Using your cryptographic inventory, list every place where keys or random values are generated, and every place where a key moves between two parties or two sites. Mark each entry as either a generation point or a distribution point, and note which system performs it. This step is done when every key and random value your system uses appears in the inventory with its generation source and its transport path.

  3. Identify which entries need a quantum technology

    Compare the requirement's stated purpose with the inventory entries. A distribution point that moves a shared key between two sites is the place where QKD would be considered, and a generation point that needs unpredictable bits is where QRNG would be considered. Some entries may need neither, for example where the need is a post-quantum algorithm rather than a quantum device. This step is done when each inventory entry is matched to one of these outcomes, with the reasoning written beside it.

  4. Read vendor documentation for claims and outputs

    For each product under consideration, read the vendor's documentation and find what it claims to do and what it outputs: a shared key over a link, a stream of random bits, or a certificate or algorithm. Note the version and edition each claim applies to, and whether any independent certification is cited by its module name and version. Where the documentation is silent on a point, record that gap rather than filling it in. This step is done when you have a written list of each product's stated output and its scope.

  5. Confirm the configuration in your own environment

    On the systems that will run the product, check the configuration settings that determine what the device actually produces, such as which output is enabled, which key or random interface is used, and which endpoint receives the material. Compare the observed settings with the vendor's stated behaviour for that version. This step is done when a dated configuration record shows the settings and matches the output you expected.

  6. Record the decision and the evidence behind it

    Write a short decision record that names each inventory entry, the technology assigned to it, the requirement clause it satisfies, the vendor documents relied on, and the configuration evidence collected. Flag any entry where the sources do not say, and list the owner who must confirm it. This step is done when an auditor or reviewer could trace each decision back to a requirement, a document and an observed setting.

How a QRNG source and a QKD link relate in a key flow

The diagram starts at a QRNG source, which supplies random bits to a key generation step on one endpoint. A separate QKD link carries a key between the two endpoints, and the two paths are not the same thing: the QRNG supplies randomness, while the QKD link distributes a key that has already been produced. When you review a design, check which component produces each key, where the key is stored on each endpoint, and whether the QKD link's key is used directly or combined with another key. The sources listed on this page do not describe a specific product integration, so confirm the interfaces against your vendor documentation.

Random bits feed key generation, while the QKD link moves a key between endpoints.

Common mix-ups between QKD, QRNG and post-quantum algorithms

QKD, QRNG and post-quantum algorithms are all described with quantum or quantum-safe language, but they solve different problems and fit into different parts of a design. The cards below correct the most common confusions so engineers can match each technology to the job it actually does.

QKD is not a post-quantum algorithm

Quantum key distribution sends key material over a physical quantum channel, so its security rests on the physics of that channel rather than on a mathematical problem. A post-quantum algorithm such as ML-KEM is software that runs on classical hardware and is defined by a published standard. Treating QKD as a drop-in algorithm choice misreads what must be deployed, including dedicated links and endpoints. Check which of the two a vendor or design actually proposes before comparing them.

FIPS 203 text

A QRNG does not distribute keys

A quantum random number generator produces random bits from quantum measurements, which is a source of randomness for a system to use. It does not transport a key from one party to another, so it cannot replace the key exchange or key establishment step in a protocol. A QRNG may feed a key generation process on either side, but the key still has to be agreed or delivered by some other mechanism. Ask whether a product generates randomness, distributes keys, or both.

NIST PQC project

Vendor claims are not compliance statements

A vendor describing a product as quantum-safe, quantum-secure or quantum-random does not by that statement meet a standard or a regulatory requirement. Compliance depends on whether the cryptography matches the algorithms, parameter sets and modes named in the applicable standard, and on how the product is configured. Ask the vendor for the specific standard, version and validation it claims, and check that against the standard itself rather than the marketing wording.

NIST IR 8547

NIST standards are not QKD or QRNG

The NIST post-quantum standards FIPS 203, FIPS 204 and FIPS 205 define software algorithms: ML-KEM for key encapsulation, ML-DSA and SLH-DSA for signatures. They were published on 13 August 2024 and are final. QKD and QRNG are hardware-based technologies that these standards do not cover. Citing the FIPS documents as evidence that a QKD or QRNG product is post-quantum conflates two different categories.

FIPS 204 text

Post-quantum means classical hardware

RFC 9794 defines a post-quantum asymmetric algorithm as one intended to remain secure against attacks by quantum computers as well as classical computers. The definition describes algorithms that run on ordinary devices, so the term does not imply any quantum physics in the implementation. Readers who associate 'post-quantum' with quantum hardware should check the definition used in the document they are reading.

RFC 9794 text

Questions people ask about QKD and QRNG

Are QKD and QRNG the same thing?

No. Both are quantum technologies, but they do different jobs. Quantum key distribution (QKD) is a method for two parties to agree on a shared secret key over a channel, using quantum effects on the transmitted signals so that eavesdropping can be detected. Quantum random number generation (QRNG) is a method for producing random numbers from quantum processes, such as the measurement of photons, that are not predictable in the way that output from a deterministic algorithm is. QKD is about moving a key between parties. QRNG is about producing the unpredictable values that keys and other secrets are built from. A QKD system needs a network link and specialized hardware, while a QRNG is a source of randomness that can be used inside many systems. The sources listed on this page do not compare their costs, so ask each vendor for a breakdown.

Which one does a rule or customer ask for?

The sources on this page do not show that a rule or customer requires either QKD or QRNG. For post-quantum work, the published standards point to algorithms. NIST published FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) on 13 August 2024, and NIST's project page lists them as final. NIST IR 8547 describes NIST's plan for moving from quantum-vulnerable algorithms to post-quantum signature and key-establishment schemes. If a customer's questionnaire or tender names QKD or QRNG, read the exact wording of the requirement and ask the requester which standard, product or outcome they mean. Do not assume the request is for QKD because the customer uses the word quantum.

Do I need both QKD and QRNG?

The sources on this page do not say that any organization needs both. They describe two different functions, key distribution and random number generation, so the need depends on which function a system is missing. A design review should first list where keys are created, where random values are generated, and how keys reach the parties that use them. Then it can decide whether either technology fits a specific gap. Whether a given system can use QRNG or QKD, and at what cost, depends on the hardware, the network and the vendor, so ask each vendor to state its own requirements in writing.

Does QKD or QRNG replace post-quantum algorithms?

The sources on this page do not show that either one replaces post-quantum algorithms. NIST's post-quantum standards are algorithms that run on classical computers, and NIST's project page says FIPS 203, 204 and 205 can and should be put into use now. RFC 9794 defines a post-quantum asymmetric algorithm as one intended to be secure against attacks using quantum computers as well as classical computers. QKD and QRNG are a different kind of technology, so the sources do not treat them as substitutes for the algorithms. A migration plan should be built around the algorithm standards the sources name, with any QKD or QRNG use treated as a separate question that the sources do not answer.

What should I ask a vendor about QKD or QRNG?

Ask the vendor to state, in writing, which function its product performs: key distribution, random number generation, or both. For QKD, ask what hardware and network links are required, which parties the keys reach, and how the system is tested and maintained. For QRNG, ask how the randomness is generated, how its output is tested, and which standards the output is evaluated against. Ask whether the product is used alongside the NIST post-quantum algorithms or as a replacement for them, and ask for the documentation that supports the answer. Request the version and edition the quote covers, and ask what changes in an upgrade. Check the vendor's claims against the standards directly rather than accepting a summary.

Where can I read the standards that cover post-quantum algorithms?

Start with the NIST pages linked on this page. The FIPS 203, FIPS 204 and FIPS 205 documents define ML-KEM, ML-DSA and SLH-DSA, and NIST's post-quantum cryptography project page tracks their status. NIST IR 8547 describes NIST's transition plan. RFC 9794 gives the IETF's definition of a post-quantum asymmetric algorithm. Read these documents yourself before you compare any product against them, because a summary can drop details that matter for your system. If a vendor's documentation says a product follows one of these standards, check the exact version and mode it names.

How much does QKD or QRNG cost?

The sources on this page do not give a price for QKD or QRNG, so this page does not state one. Costs usually fall into hardware, installation, integration with existing systems, licensing or subscription fees, and ongoing support. Hardware and network requirements tend to drive QKD costs, while integration and testing effort tend to drive QRNG costs. Ask each vendor for a quote that separates one-time costs from recurring ones, names what is included, and states which version and edition the price covers. Compare quotes on the same scope, since a lower price may cover fewer functions.

How DeployOpen works on this

DeployOpen approaches QKD vs QRNG as a scoped piece of migration work, not a product choice. We set out in writing which quantum technology a system needs, what it would touch, and what is out of scope, then build, document and support the result inside the client's own infrastructure.

How we scope

  • We agree in writing which systems would use key distribution and which would use random number generation, before any work starts.
  • The written scope names the networks, endpoints and key workflows covered, so QKD and QRNG needs are not mixed up.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing up front.

How we build

  • We inventory where key material is generated, distributed and consumed in the client's environment.
  • We separate random number sources from key exchange links in the design, and document each dependency.
  • We test the configured components against the agreed scope, including the failure paths for each technology.

How we hand over

  • We deliver the architecture notes, configuration records and test results for the QKD or QRNG components built.
  • We document which standards and vendor documents each setting was checked against, so reviewers can trace them.
  • We walk the client's engineers through the operating procedures before the engagement closes.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainer support covers changes to the QKD or QRNG components as vendor versions and standards are updated.
  • Confirm current vendor and standards guidance for your versions before relying on any configuration here.

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.