Greymatter.ioGreymatter.io
Start for Free
Greymatter.ioGreymatter.io Why Greymatter.io?
Pricing Start for Free
Learn
Resources/Blog

Post-quantum encryption explained

What is post-quantum encryption?

An attacker can record encrypted traffic today and decrypt it later. Post-quantum encryption protects that traffic from the first connection.

By Greymatter.io10 min read

The short answer

Post-quantum encryption uses algorithms that are designed to resist attacks from quantum computers. It protects traffic that an attacker records today and tries to decrypt later. In a TLS connection, the part that changes is the key exchange. The NIST standard for that job is ML-KEM, published as FIPS 203.

What does post-quantum encryption mean?

Encryption turns readable data into data that only the holder of a key can read. Most network encryption today depends on public-key cryptography. Public-key cryptography rests on mathematics problems that today’s computers cannot solve in a useful time.

A quantum computer is a different kind of machine. A large quantum computer can solve some of those problems quickly. Post-quantum encryption uses algorithms built on other mathematics, which resists known quantum attacks.

Post-quantum algorithms run on the computers that teams already own. They need no quantum hardware. A server, a laptop, or a phone can use them after a software upgrade.

The field has several names. Standards bodies write post-quantum cryptography and shorten it to PQC. Other sources write quantum-safe encryption or quantum-resistant encryption. All of these names describe one idea.

Other names for post-quantum encryption
  • Post-quantum cryptography
  • PQC
  • Quantum-safe encryption
  • Quantum-resistant encryption

For a short definition, see post-quantum encryption in the AI security glossary.

Why is current encryption at risk?

A TLS connection does two jobs. First, the two ends agree on a secret key. Then they use that key to encrypt the data.

The second job uses symmetric ciphers such as AES-256, which remain strong. The first job, the key exchange, is the part at risk. An attacker who breaks the key exchange learns the secret key. With the key, the attacker reads everything that the connection carried.

The attacker can record the traffic before the tools to break it exist. This attack has a name: harvest now, decrypt later.

Record

An attacker copies encrypted traffic as it crosses a network. The copy includes the key exchange and the encrypted data.

Store

The attacker keeps the copy. Today the attacker cannot read it.

Decrypt later

When the tools exist, the attacker breaks the recorded key exchange. Then the attacker reads the stored data.

The risk starts on the day of the recording

Data that must stay private for ten years needs post-quantum protection now. A later upgrade protects later traffic only.

For years, plans for post-quantum cryptography depended on the date when a large quantum computer will exist. On December 2, 2026, three US agencies added a second pressure. The Office of the National Cyber Director, the National Security Agency, and the Cybersecurity and Infrastructure Security Agency released a joint statement. The statement says that advanced AI models have solved mathematics problems that were unsolved before. Public-key cryptography rests on mathematics, so the date is now harder to predict. The safe plan is to finish early.

What are ML-KEM and NIST FIPS 203?

The U.S. National Institute of Standards and Technology (NIST) writes the cryptography standards that most programs follow. NIST published FIPS 203 in August 2024. FIPS stands for Federal Information Processing Standards.

FIPS 203 defines ML-KEM. The name stands for Module-Lattice-Based Key-Encapsulation Mechanism. ML-KEM is built on mathematics that resists known quantum attacks.

A key-encapsulation mechanism lets two ends agree on a secret key over an open network. One end creates a public key and sends it. The other end uses the public key to wrap a new secret, and it sends the wrapped secret back. Only the first end can unwrap it. Both ends now hold the same secret.

FIPS 203 defines three sizes of ML-KEM.

  • ML-KEM-512 has the smallest keys.
  • ML-KEM-768 is the middle size.
  • ML-KEM-1024 has the largest keys and the highest security level.

ML-KEM does the key exchange job. NIST published two more standards in August 2024 for a second job, digital signatures. FIPS 204 defines ML-DSA, and FIPS 205 defines SLH-DSA. This page covers the key exchange, because harvest now, decrypt later attacks the key exchange.

How does a hybrid key exchange work in TLS?

TLS 1.3 names each key exchange method as a group. When a client opens a connection, it sends a list of the groups that it supports. The list is in order of preference. The server picks a group that both ends support.

Post-quantum TLS adds new groups to that list. The group X25519MLKEM768 is a hybrid. It runs two key exchanges and combines the results.

X25519

The classical algorithm that protects most TLS connections today.

ML-KEM-768

The post-quantum algorithm from FIPS 203.

The combined secret

TLS builds the connection key from both results. An attacker must break both algorithms to read the traffic.

A hybrid group keeps the protection of the classical algorithm and gains the protection of the new one. The classical algorithm has many years of use in live networks. The post-quantum algorithm protects against a future quantum attack.

The order of the list matters, because it tells the server which group the client prefers. When one end supports only a classical group, the connection still works, and it uses the classical group. For that reason, a team needs a count of the group that each live connection used.

Why does AI agent traffic make post-quantum encryption urgent?

Each AI agent and each tool server adds encrypted connections to a network. Agents delegate work to other agents over the Agent2Agent (A2A) protocol. Agents use tools over the Model Context Protocol (MCP). Both protocols run over TLS, so both depend on the key exchange.

Agent traffic differs from application traffic in three ways.

Volume

One request from a person can become dozens of calls. The agent calls a second agent, which calls three tools, which call data stores. Each call is a new connection to protect.

Content

An A2A call carries instructions and the context behind them. An MCP tool call carries credentials, queries, and the records that the tool returns. A recording of this traffic holds your data and a map of how your organization works.

Change

Agents choose their connections at run time. A new agent or a new tool server adds connections that nobody listed in advance. An inventory that a person made last month is already out of date.

Each AI agent that ships on classical encryption adds recorded traffic that an attacker can decrypt later. The order of work matters. Put post-quantum encryption under A2A and MCP traffic while the number of connections is still small.

Encryption protects the call on the wire. Inspection controls what the call may do. For the inspection side, read What is A2A security? and What is MCP security?.

What does FIPS 140-3 have to do with post-quantum encryption?

FIPS 203 and FIPS 140-3 are two different standards. FIPS 203 defines an algorithm. FIPS 140-3 is the U.S. government standard for cryptographic modules, which are the software or hardware that run the algorithms.

A lab tests a module against FIPS 140-3. The Cryptographic Module Validation Program (CMVP) then issues a certificate. Many U.S. government systems must use validated modules.

A regulated program therefore asks two questions about each connection. The first question is which algorithm did the key exchange. The second question is whether a validated module did the work. A program that reports to an authorizing official needs evidence for both.

How does Greymatter apply post-quantum encryption?

Greymatter is a Zero Trust runtime security platform. It moves security controls into the live data path, closest to the resource. Encryption is one of those controls. A Greymatter agent runs beside each workload and at each gateway, and it carries the workload’s connections.

In Greymatter, post-quantum encryption is on by default. In a TLS 1.3 handshake, every Greymatter agent offers the hybrid group X25519MLKEM768 first. The Greymatter agent offers the group with no setting to turn on.

What Greymatter adds

Post-quantum encryption in Greymatter

The Greymatter agent makes the connection, so every workload gets the same key exchange.

On by default

When two Greymatter agents connect, they agree on the post-quantum key exchange. The control plane raises the TLS ceiling of each connection between Greymatter workloads to TLS 1.3, which the hybrid group needs.

No application changes

Application teams write no code and change no configuration. A workload that joins Greymatter gets the protection on its first connection.

A2A and MCP traffic

A Greymatter agent runs beside each AI agent and each MCP tool server on Greymatter. The A2A call or the tool call travels between two Greymatter agents, over mutual TLS with the post-quantum key exchange.

Systems outside Greymatter

A Greymatter agent also talks to clients and services outside Greymatter. When the other end supports the hybrid group, the two ends use it. When the other end supports only a classical group, the connection still works, and Greymatter records which group it used.

FIPS 140-3 validated

The Greymatter.io Cryptographic Module holds certificate #5191 from the NIST Cryptographic Module Validation Program, at Overall Level 1. Post-quantum encryption stays on by default in FIPS mode.

Inspection on the same path

The same Greymatter agent also inspects the call. AI Guardrails admits only the A2A methods and callback addresses that your team lists. With MCP inspection on, it reads each tool call.

An AI agent framework has its own TLS library, and most teams cannot say which key exchange it uses. With Greymatter, the answer is the same for every framework, because the Greymatter agent makes the connection. Read more in the AI & Agent Control use case and in What is AI runtime security?.

What evidence shows that a connection used post-quantum encryption?

Each Greymatter agent counts its TLS handshakes by key exchange group. Greymatter collects those counts and shows them in the Console. For each service, the Console shows how many connections used post-quantum encryption.

Stoplight uses post-quantum coverage as evidence when it scores each tenant. For encrypted traffic that passes through an egress gateway to an outside service, the access log records the TLS version and the key exchange group.

This evidence comes from live traffic. You can export it for an assessor on the day they ask.

What the evidence shows

Service
Connections that used post-quantum encryption
Tenant
Post-quantum coverage in the Stoplight score
Egress
TLS version and key exchange group

How can a team start with post-quantum encryption?

Most of the cryptography at risk is in one place: the key exchange of each TLS connection. The work for a team is to make each connection use ML-KEM. Three questions decide how long that work takes.

  • Where does each connection start and end? A connection that nobody listed is a connection that nobody upgrades.
  • Who must change code? If each application team must upgrade its own TLS library, the migration moves at the speed of the slowest team.
  • How do you prove the result? An authorizing official wants evidence from live traffic, for each service.

A plan that answers those questions has four parts.

  1. List the connections that carry data with a long life: health records, mission data, credentials, and keys. Start with A2A and MCP traffic.
  2. Measure how many of those connections use a post-quantum key exchange today.
  3. Find the connections that still use a classical key exchange, and upgrade the systems at each end.
  4. Set a date to finish, and report progress against it.

Greymatter answers the three questions in the data path. It keeps a live catalog of every application, API, and AI agent, and of the connections between them. Greymatter agents offer the post-quantum key exchange by default. The Console shows the count for each service.

Related post

The mechanism in detail

See the handshake, the hybrid group, and the Console evidence step by step. Read How Greymatter turns on post-quantum encryption by default.

Post-quantum encryption is one change with a long effect: each connection agrees on its key with an algorithm that resists quantum attacks, before an attacker records the traffic. Greymatter runs that key exchange in the live data path, closest to the resource.

See it running on your own infrastructure.

Reading is a start. A walkthrough with our team shows what Greymatter does in your environment.

Speak with a Greymatter.io Expert Start for Free How to Buy →

Additional resources

All Resources
Blog
By Greymatter.io
Blog · Dec 3, 2026How Greymatter turns on post-quantum encryption by default
Blog
By Greymatter.io
Blog · Dec 3, 2026What the US joint statement on cryptography means for your network
Blog
By Greymatter.io
Blog · Dec 2, 2026What is A2A security?