# Harvest now, decrypt later: why recorded traffic is at risk today

An attacker does not need a quantum computer today to attack your traffic. The attacker can record it now and decrypt it later. This page explains how the attack works, which data it affects, and what stops it.

Published 4 Dec 2026 · Updated 4 Dec 2026

## The attack in three steps

1. **Record.** The attacker copies encrypted traffic. Traffic crosses networks, cables, exchange points and providers that the sender does not control.
2. **Store.** The attacker keeps the recording. Storage is cheap, and the attacker can wait for years.
3. **Decrypt.** When a large quantum computer exists, the attacker uses it to break the key exchange in each recorded handshake. With the session keys, the attacker reads the traffic.

The UK NCSC describes this threat as "collecting and storing data today and decrypting it at some point in the future"[\[1\]](https://www.ncsc.gov.uk/whitepaper/next-steps-preparing-for-post-quantum-cryptography "Next steps in preparing for post-quantum cryptography (UK NCSC, August 2024)"). In August 2023 CISA, NSA and NIST published a joint factsheet that asks organisations to plan their move to post-quantum cryptography now[\[2\]](https://www.cisa.gov/resources-tools/resources/quantum-readiness-migration-post-quantum-cryptography "Quantum-readiness: migration to post-quantum cryptography (CISA, NSA and NIST, August 2023)").

## Why the key exchange is the weak point

A TLS connection uses two kinds of cryptography. A public-key key exchange, usually X25519 or ECDHE on P-256, makes the session keys. A symmetric cipher, such as AES-GCM, then encrypts the data with those keys.

In 1994 Peter Shor found a quantum algorithm that solves the discrete logarithm problem and factors large numbers fast[\[3\]](https://doi.org/10.1109/SFCS.1994.365700 "Algorithms for quantum computation: discrete logarithms and factoring (Peter Shor, 1994)"). The elliptic-curve key exchange depends on the discrete logarithm problem, so a large quantum computer can recover the session keys from a recorded handshake. Symmetric ciphers are different: Shor's algorithm does not apply to AES.

The recording holds everything that the attacker needs: the public key shares of both sides and the encrypted data. Forward secrecy does not help here. It protects against a stolen server key, but each session key still comes from a key exchange that a quantum computer can break.

## When can the attacker decrypt?

No public quantum computer can break X25519 or RSA-2048 today. The estimates of the size of the machine keep falling. In 2019 a published estimate said that 20 million noisy qubits could factor a 2048-bit RSA key in eight hours[\[4\]](https://arxiv.org/abs/1905.09749 "How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits (Craig Gidney and Martin Ekerå, 2019)"). In 2025 the same author estimated that less than a million noisy qubits could do it in less than a week[\[5\]](https://arxiv.org/abs/2505.15917 "How to factor 2048 bit RSA integers with less than a million noisy qubits (Craig Gidney, 2025)").

On 2 December 2026 the US ONCD, NSA and CISA said that recent discoveries "do not present an immediate and widespread threat", and asked industry and government to upgrade quickly[\[8\]](https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities "Joint statement on recent advances in cryptographic and cybersecurity capabilities (ONCD, NSA and CISA, 2 December 2026)"). The date of the first large machine is not known. For this attack, that date matters less than how long your data must stay secret.

## Which data is at risk

Michele Mosca gave a simple test[\[6\]](https://eprint.iacr.org/2015/1075 "Cybersecurity in an era with quantum computers: will we be ready? (Michele Mosca, 2015)"). Let `x` be the years that your data must stay secret, `y` the years that your migration takes, and `z` the years until a quantum computer can break today's key exchange. If `x + y` is more than `z`, some of your data will be readable while it still matters.

* **High risk:** health records, financial and legal files, source code, trade secrets, identity documents, private messages and government data. These often must stay secret for ten years or more.
* **Lower risk:** data that loses its value fast, such as a one-time code or a session that expires in minutes.

A recording also captures the things inside the traffic: passwords, API keys and tokens that stay valid for a long time. Rotate long-lived credentials as part of the migration.

## What stops the attack

A post-quantum key exchange stops it. NIST published ML-KEM as FIPS 203 in August 2024[\[9\]](https://csrc.nist.gov/pubs/fips/203/final "FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard (ML-KEM) (NIST, 13 August 2024)"). On the web it runs in the hybrid group X25519MLKEM768, which RFC 10024 defines[\[10\]](https://www.rfc-editor.org/rfc/rfc10024.html "RFC 10024: Hybrid key agreement for TLS 1.3 (IETF)"). A recording of a handshake that used this group does not give the attacker the session keys, even with a quantum computer.

The browser side is mostly done. Cloudflare said on 1 December 2026 that 73% of the human traffic to its network was post-quantum encrypted[\[11\]](https://blog.cloudflare.com/pq-is-still-safe/ "Post-quantum is still safe (Cloudflare, 1 December 2026)"). Each server must also accept the group and choose it. Read [how to turn on X25519MLKEM768](https://arewepostquantum.com/x25519mlkem768).

## Certificates are a different problem

Harvest now, decrypt later attacks the key exchange, not the certificate. To impersonate a server, an attacker must break the certificate key while the connection happens. A recording does not help with that. So the key exchange comes first, and post-quantum certificates come next. Chrome has one close date for certificates: it intends to stop trusting certificate authorities with ECDSA P-256 keys on 15 March 2027[\[12\]](https://blog.google/security/keeping-https-connections-safe-in-chrome/ "Keeping HTTPS connections safe in Chrome (Google, December 2026)").

## What to do

1. [Check your public sites](https://arewepostquantum.com/) and fix each one where browsers do not get a post-quantum key exchange.
2. Make a list of the systems that carry long-lived secret data, and start with them.
3. Ask your vendors and your CDN for their post-quantum dates. The check also tests the vendors that your site uses.
4. Use the earliest deadline that applies to you. The UK NCSC asks for the highest-priority migrations by 2031[\[7\]](https://www.ncsc.gov.uk/guidance/pqc-migration-timelines "Timelines for migration to post-quantum cryptography (UK NCSC)").

The [banks](https://arewepostquantum.com/sites/banks), [health](https://arewepostquantum.com/sites/health) and [government](https://arewepostquantum.com/sites/governments) pages show how sectors that hold long-lived data are doing.

## Questions

### What does harvest now, decrypt later mean?

An attacker records encrypted traffic today and keeps it. When a large quantum computer exists, the attacker uses it to recover the keys from the recorded key exchanges and reads the traffic. The names store now, decrypt later and HNDL mean the same attack.

### Is harvest now, decrypt later a real threat?

Government agencies treat it as one. The UK NCSC describes the attack of collecting and storing data today to decrypt it in the future. CISA, NSA and NIST asked organisations to prepare for post-quantum cryptography in 2023 for this reason.

### What data is at risk?

Data that must stay secret for many years: health records, financial and legal data, source code, trade secrets, private messages and government data. A login session that expires in minutes is not at risk from this attack.

### Does a post-quantum certificate stop harvest now, decrypt later?

No. The key exchange protects recorded traffic, not the certificate. An attacker must break a certificate during the connection to impersonate a server. A post-quantum key exchange, such as X25519MLKEM768, is what stops this attack.

### How do I protect my site against harvest now, decrypt later?

Turn on the hybrid key exchange X25519MLKEM768 at your CDN, load balancer and web server, and make sure the server chooses it when a browser offers it. Then check the domain on arewepostquantum.com.

## Sources

1. [Next steps in preparing for post-quantum cryptography](https://www.ncsc.gov.uk/whitepaper/next-steps-preparing-for-post-quantum-cryptography) · UK NCSC, August 2024
2. [Quantum-readiness: migration to post-quantum cryptography](https://www.cisa.gov/resources-tools/resources/quantum-readiness-migration-post-quantum-cryptography) · CISA, NSA and NIST, August 2023
3. [Algorithms for quantum computation: discrete logarithms and factoring](https://doi.org/10.1109/SFCS.1994.365700) · Peter Shor, 1994
4. [How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits](https://arxiv.org/abs/1905.09749) · Craig Gidney and Martin Ekerå, 2019
5. [How to factor 2048 bit RSA integers with less than a million noisy qubits](https://arxiv.org/abs/2505.15917) · Craig Gidney, 2025
6. [Cybersecurity in an era with quantum computers: will we be ready?](https://eprint.iacr.org/2015/1075) · Michele Mosca, 2015
7. [Timelines for migration to post-quantum cryptography](https://www.ncsc.gov.uk/guidance/pqc-migration-timelines) · UK NCSC
8. [Joint statement on recent advances in cryptographic and cybersecurity capabilities](https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities) · ONCD, NSA and CISA, 2 December 2026
9. [FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard (ML-KEM)](https://csrc.nist.gov/pubs/fips/203/final) · NIST, 13 August 2024
10. [RFC 10024: Hybrid key agreement for TLS 1.3](https://www.rfc-editor.org/rfc/rfc10024.html) · IETF
11. [Post-quantum is still safe](https://blog.cloudflare.com/pq-is-still-safe/) · Cloudflare, 1 December 2026
12. [Keeping HTTPS connections safe in Chrome](https://blog.google/security/keeping-https-connections-safe-in-chrome/) · Google, December 2026

## Read next

* [What is post-quantum cryptography?](https://arewepostquantum.com/what-is-post-quantum-cryptography): What a quantum computer breaks, harvest now, decrypt later, the deadlines, and what to change first.
* [ML-KEM (FIPS 203) explained](https://arewepostquantum.com/ml-kem): How ML-KEM (FIPS 203) works, its three parameter sets, its sizes, and where it runs today.
* [X25519MLKEM768 hybrid key exchange](https://arewepostquantum.com/x25519mlkem768): The hybrid group that browsers send, how the two secrets combine, and how to turn it on.
* [NIST post-quantum standards](https://arewepostquantum.com/nist-pqc-standards): The NIST post-quantum algorithms, what each one is for, and the transition dates.
* [Post-quantum TLS by sector](https://arewepostquantum.com/sites): which banks, AI companies, clouds and governments are ready.
* [Monthly report](https://arewepostquantum.com/report): adoption across the listed sites this month.

Source: https://arewepostquantum.com/harvest-now-decrypt-later
