Quanten Security

Physics

Practical explanations of Shor's algorithm, lattice hardness, Module-LWE, and security estimates behind post-quantum cryptography.

Atom animationWhat this animation showsElectrons circling a nucleus, the familiar picture of an atom. It stands for the quantum hardware these algorithms have to withstand, not for the encryption itself. Superposition formulaSuperpositionA quantum bit is not simply 0 or 1. It holds both at once, and the two symbols say how much of each is in the mix. That is where a quantum computer gets its power, because it works through many possibilities together. Energy equationThe energy equationThis says how much energy a particle has, which is what decides how it moves from one moment to the next. It is the rule driving the electrons in this animation. Measurement probabilityThe odds of each answerReading a quantum bit forces it to settle on 0 or 1. This gives the chance of it landing on 0, turning the amount of 0 in the mix into an ordinary probability. Wavelength of matterMatter behaves like a waveEvery particle has a wavelength, shorter the faster and heavier it is. It is the reason electrons spread into the shells drawn here instead of sitting still like tiny balls.

Page sections

Scan the major sections before moving into the full technical detail.

Why lattice math survives quantum attack.

Talk to our security team

What ShorShor’s algorithmThe quantum method that breaks RSA and ECC. It is the specific reason today’s public-key encryption has an expiry date.‘s algorithm actually breaks

Peter Shor published his quantum algorithm in 1994. It solves two problems in polynomial time on a quantum computer: integer factorisation (the hardness assumption behind RSA) and the discrete logarithm problem (the hardness assumption behind Diffie-Hellman and elliptic-curve cryptography). These are the two mathematical foundations that underpin essentially all classical public-key cryptography in production today. A quantum computer running Shor’s algorithm at scale changes RSA-2048RSA-2048The encryption behind a large share of today’s web traffic, VPNs, and digital certificates. A sufficiently capable quantum computer would break it outright. from a GNFS-classical factoring problem estimated around 2^110-2^117 operations (~10^33-10^35) into a polynomial-time quantum computation.

Grover’s algorithm provides a quadratic speedup for brute-force key search, which reduces the effective security of symmetric algorithms. AES-256AES-256The encryption that protects stored data and the contents of a connection. Quantum computing weakens it but does not break it, so AES-256 stays safe to keep using. retains roughly 128-bit post-quantum security under Grover, which remains acceptable. The asymmetric algorithms — RSA, ECC, DH — have no equivalent mitigation at their current key sizes and must be replaced entirely.

Module-LWE: the problem quantum computers cannot solve efficiently

The Learning With ErrorsLearning With ErrorsThe hard problem underneath lattice cryptography: recovering a hidden pattern once deliberate noise has been added. Adding that noise is easy, and undoing it is believed to be beyond quantum computers too. (LWE) problem asks: given a set of linear equations over a finite field with small random errors added to each equation, recover the secret vector. In the module variant (Module-LWE), the equations are structured as polynomial matrices, which gives much more compact key representations while preserving the hardness guarantee. Unlike integer factorisation, no one has found a quantum algorithm that solves Module-LWE faster than the best classical algorithms — and the problem has been studied intensively since Regev introduced LWE in 2005.

This is not an absence of effort: NIST’s PQC competition ran from 2016 to 2024 and involved hundreds of cryptanalysts attacking the candidate algorithms. ML-KEMML-KEM-1024The NIST-standardised way for two systems to agree on a secret key without a quantum computer being able to work it out. It replaces the key exchange used by most of the internet today. and ML-DSA emerged from that process with no meaningful structural attacks against their Module-LWE foundation. The Kyber round-3 analysis lists Kyber1024 at 232-bit quantum core-SVP hardness — a margin no foreseeable quantum hardware could reach.

IND-CCA2 security and what it guarantees

IND-CCA2 (indistinguishability under adaptive chosen-ciphertext attack) is the standard security model for key encapsulation mechanisms. It means an adversary who can submit arbitrary ciphertexts for decapsulation and observe the result still cannot distinguish a real encapsulated key from a random one. This is the relevant property for TLSTLSThe protocol behind the padlock in a browser. It encrypts traffic between a visitor and a website, and it is the single biggest place post-quantum encryption has to land.-style handshakes where a network adversary can send crafted messages to probe for oracle behavior.

ML-KEMML-KEM-1024The NIST-standardised way for two systems to agree on a secret key without a quantum computer being able to work it out. It replaces the key exchange used by most of the internet today. achieves IND-CCA2 security through the Fujisaki-Okamoto transform applied to an IND-CPA-secure public-key encryption scheme built on Module-LWE. The security reduction is tight in the quantum random oracle model (QROM), meaning the proof holds against quantum adversaries making superposition queries to hash functions. This is important: many earlier post-quantum proposals had classical security proofs that did not extend cleanly to the quantum setting.

Security estimates in practice

ML-KEM-1024ML-KEM-1024The NIST-standardised way for two systems to agree on a secret key without a quantum computer being able to work it out. It replaces the key exchange used by most of the internet today. is the category-5 ML-KEM parameter set in FIPS 203. In the Kyber round-3 concrete security analysis, Kyber1024 is listed at 256 classical and 232 quantum core-SVP hardness. Those estimates are derived from the best known lattice reduction algorithms and remain the right way to discuss Kyber1024 security margins.

For engineering teams: the practical difference between a 232-bit quantum core-SVP estimate and a 256-bit classical estimate is negligible against any foreseeable attacker. The binding constraint on PQC adoption is operational — certificate lifecycle, HSMHSMA hardware security module: a sealed, tamper-evident box that generates and stores private keys so they never exist in ordinary computer memory. throughput, handshake latency — not the margin of safety in the underlying math. Talk to our security team if you want to walk through the security proof and implementation details for your specific deployment context.