Skip to content
PONIVA VPN now with post-quantum encryption: ML-KEM support for IPsec and SSL VPN →

What Is Post-Quantum Encryption and ML-KEM?

Post-quantum cryptography is the family of encryption algorithms designed to stay secure not only against today’s computers but also against the powerful quantum computers of the future. ML-KEM is the one among them used to establish a shared encryption key between two parties; it was standardized by the U.S. National Institute of Standards and Technology (NIST) in 2024 as FIPS 203.

In this article you will learn why quantum computers threaten today’s encryption, what a “harvest now, decrypt later” attack is, how ML-KEM works, and how you can protect your VPN connections starting today.

Why do quantum computers threaten encryption?

When a VPN or HTTPS connection is set up, the two sides first agree on a shared secret key and then encrypt the traffic with it. The methods used for this agreement today (RSA, Diffie-Hellman and elliptic-curve ECDH/X25519) rely on mathematical problems, such as factoring very large numbers, that are practically impossible for classical computers to solve.

A sufficiently large and stable quantum computer could solve these problems using Shor’s algorithm. No such computer exists yet, but once one is built, the keys of connections protected by today’s key exchange methods could be recovered. Symmetric algorithms such as AES are far less affected by quantum computers and remain secure with adequate key lengths (for example AES-256). The real risk lies in the step where the key is created.

The “harvest now, decrypt later” attack

Why is this a problem today if quantum computers do not exist yet? Because an attacker does not need to decrypt traffic now; recording it is enough. An attacker or a state-backed group can capture and store encrypted VPN traffic crossing the internet today and decrypt those recordings once quantum computers become powerful enough. This is known as “harvest now, decrypt later”.

The risk matters most for data that must stay confidential for many years: government correspondence, defense and health data, trade secrets, personal data and financial records. If traffic recorded today could still cause harm when decrypted ten years from now, protection has to start today.

What is ML-KEM and how does it work?

ML-KEM (Module-Lattice-Based Key-Encapsulation Mechanism) is a key encapsulation method based on mathematical structures called lattices. It was developed as CRYSTALS-Kyber, selected in NIST’s multi-year post-quantum cryptography competition and published as the FIPS 203 standard in 2024. No quantum algorithm is known that solves the problems it relies on.

ML-KEM is defined at three security levels:

Parameter setSecurity levelTypical use
ML-KEM-512Comparable to AES-128When performance is the priority
ML-KEM-768Comparable to AES-192Recommended balance for general use
ML-KEM-1024Comparable to AES-256Highest security; required by the U.S. NSA’s CNSA 2.0

Why hybrid?

Because post-quantum algorithms are new, they are usually deployed together with a classical key exchange (in hybrid mode). For example, X25519 and ML-KEM-768 run side by side and the encryption key is derived from both results. An attacker then has to break both methods to decrypt the connection. If a weakness is ever found in ML-KEM, the connection still keeps at least today’s classical level of security; if the classical method is broken by a quantum computer, ML-KEM keeps protecting it. Web browsers and major internet services have already started using this hybrid approach for HTTPS.

Post-quantum protection for VPNs

VPN tunnels carry an organization’s most sensitive traffic across the internet: data flowing between branches, remote staff accessing servers, management connections. That makes them one of the most valuable targets for “harvest now, decrypt later”. Post-quantum protection matters in two places:

  • IPsec (site-to-site tunnels): The IKEv2 protocol allows additional key exchanges on top of the classical Diffie-Hellman exchange. Using ML-KEM in that additional step gives the tunnel key post-quantum protection.
  • SSL VPN (remote workers): TLS-based connections use a hybrid key exchange that combines X25519 with ML-KEM-768.

ML-KEM protects the confidentiality of the connection, that is, the content of the traffic. The certificates and signatures used to authenticate the two sides are a separate matter; post-quantum signature standards such as ML-DSA have been developed for them as well. Against the risk of recorded traffic being decrypted later, protecting the key exchange is the first and most urgent step.

What should organizations do now?

  1. Take inventory: Identify which key exchange methods your systems (VPNs, web applications, internal services) use.
  2. Prioritize long-lived data: Start with the connections that carry data which must stay confidential for years, especially VPN tunnels.
  3. Prefer hybrid mode: Using post-quantum algorithms together with classical ones is the safest approach during the transition.
  4. Test compatibility: Make sure the devices at both ends of a tunnel support the same method, and plan a gradual rollout.

Post-quantum VPN with PONIVA

PONIVA Firewall supports post-quantum key exchange with ML-KEM for IPsec and SSL VPN connections:

  • IPsec: ML-KEM-512, ML-KEM-768 (recommended) or ML-KEM-1024 (CNSA 2.0) can be added on top of the classical key exchange.
  • SSL VPN: A hybrid post-quantum key exchange combining X25519 with ML-KEM-768 can be used.

Both methods run in hybrid mode, so connections are protected against today’s attacks and against the future quantum computer threat. See our secure remote access page for details, or contact us.

Frequently Asked Questions

Can quantum computers break VPN encryption today?

No. No quantum computer exists yet that is large enough to break today's key exchange methods. But encrypted traffic recorded today could be decrypted once such computers are built, which is why post-quantum encryption matters now.

Are ML-KEM and Kyber the same thing?

Largely, yes. ML-KEM is the version of the CRYSTALS-Kyber algorithm that NIST standardized, with some changes, as FIPS 203. New deployments should use the standardized ML-KEM.

Which ML-KEM level should I choose?

For most organizations ML-KEM-768 is the recommended balance between security and performance. ML-KEM-1024 is used for the highest security requirements, such as the U.S. NSA's CNSA 2.0.

Does ML-KEM slow down VPN connections?

Not noticeably. ML-KEM runs only during key creation when the connection is set up; its key messages are somewhat larger, but the traffic itself is still encrypted with the same symmetric algorithms.

Do both ends of the tunnel need to support ML-KEM?

Yes. Post-quantum key exchange can only be used when both sides support the same method, so the configuration of the devices at both ends of a tunnel should be planned together.

Back to all articles Uncategorized articles
Related Articles

You might also find these useful

Secure your network with
technology you can trust.

Let us find the right solution for your organisation together. Get in touch with our specialists.