By Bonaventure Ogeto · Published · Last verified:

What Is Post-Quantum Cryptography? A Plain-English Explanation (2026)

The short answer

Post-quantum cryptography is a set of new public-key algorithms that run on ordinary computers but are designed to resist a future quantum computer, which could break today's RSA and elliptic-curve cryptography. NIST published the first standards in August 2024[1]. The move is urgent because recorded data can be decrypted later, but no published attack breaks deployed encryption.

Source: Mctaba Labs, “What Is Post-Quantum Cryptography? A Plain-English Explanation (2026)”, last verified 4 December 2026, mctaba.com/learn/cryptography/what-is-post-quantum-cryptography

At a glance

  • Today's internet security leans on RSA and elliptic-curve cryptography, which NIST says would be no longer secure[2] once a large quantum computer exists.
  • Post-quantum cryptography replaces them with new maths, mostly lattices and hash functions[3]. NIST standardised the first three algorithms, ML-KEM, ML-DSA and SLH-DSA, in August 2024[1].
  • Data recorded today could be decrypted later, so key exchange moves first and signatures follow.
  • The big deployments, such as Signal and iMessage, run in hybrid mode, pairing a classical algorithm with a post-quantum one so an attacker must break both.
  • No published attack breaks deployed encryption, and NIST says no one knows[3] when a quantum computer able to break today's encryption will appear.

What is post-quantum cryptography, in plain English?

Post-quantum cryptography is a new generation of public-key algorithms built to survive a future quantum computer. The “post” means after: these are the algorithms meant to keep working in a world where large quantum computers exist. They are ordinary software. They run on the phones, laptops and servers you already have, and they slot into the places where RSA and elliptic-curve cryptography sit today.

The new algorithms rest on maths problems with no known practical solution, even on a quantum computer. Of the four algorithms NIST first selected, three are based on structured lattices and the fourth on hash functions[3]. FIPS 203, the standard for ML-KEM, says that at present ML-KEM is believed to be secure, even against adversaries who possess a quantum computer[4].

This page is part of the cryptography series, which starts from the Caesar cipher and ends with the December news.

What does public-key cryptography do for you today?

It does two jobs, every time you go online.

Key exchange. Two devices that have never met agree on a secret key over a network anyone can watch. NIST's term for the post-quantum version is a key-encapsulation mechanism (KEM): a set of algorithms two parties can use to establish a shared secret key over a public channel[5]. That key then drives fast symmetric encryption such as AES.

Digital signatures. A signature proves who sent something and that nobody changed it on the way. NIST describes signatures as used to detect unauthorized modifications to data and to authenticate the identity of the signatory[6]. Website certificates, software updates and signed documents all depend on them.

You use both constantly. Every HTTPS connection starts with them: Safaricom's Daraja documentation shows merchant servers fetching their access tokens over HTTPS[7] before calling M-Pesa APIs, and your bank app and government portals connect the same way. WhatsApp's encryption white paper says its end-to-end encryption is based on the Signal Protocol, with a long-term Curve25519 key pair[8] as each device's identity key. Curve25519 is an elliptic curve, and elliptic curves and RSA are exactly what a large quantum computer would threaten.

Why would a quantum computer break RSA and elliptic-curve cryptography?

An ordinary computer works with bits that are either zero or one. A quantum computer uses qubits, quantum bits whose states can combine and interfere in ways ordinary bits cannot. For most tasks that brings no advantage. For a few mathematical problems with the right structure, it brings a huge one.

RSA's security rests in part on the difficulty of factoring[9] a huge number into its prime factors, and elliptic-curve cryptography rests on a related problem called the discrete logarithm. In 1994[2] Peter Shor showed that a quantum computer could solve both efficiently, which NIST says would leave every public-key system built on them impotent[2].

Symmetric encryption fares far better. Grover's algorithm speeds up brute-force search, but NIST expects AES-128 to remain secure for decades[10], says that if Grover's algorithm ever becomes practical doubling the key size will be sufficient[2], and does not expect to need to transition away[11] from its symmetric standards. The UK's National Cyber Security Centre (NCSC) says AES with at least 128-bit keys[12] can continue to be used.

AlgorithmUsed forWhat a large quantum computer does to itPost-quantum answer
RSASignatures, key establishmentNo longer secure[2]ML-KEM for keys; ML-DSA or SLH-DSA for signatures
ECDSA, ECDH (elliptic curves)Signatures, key exchangeNo longer secure[2]The same replacements
AESEncryptionNeeds bigger keys at most; NIST expects no transition[11]Keep using AES
SHA-2, SHA-3HashingLittle effect; SHA-256 can continue to be used[12]Keep using them

How big would the machine be? NIST says breaking present-day encryption will need quantum computers employing many thousands of qubits[3]. Google estimated in May 2025[13] that an RSA-2048 key could in theory fall to 1 million noisy qubits running for one week[13]. Its Willow chip, announced in December 2024[14], has 105 qubits[14], and the NCSC says today's machines are still limited[12] by high error rates. How quantum computers could break RSA and ECC explains the algorithms, and when will quantum computers break encryption weighs the forecasts.

What are the NIST post-quantum standards?

The US National Institute of Standards and Technology (NIST) ran an open, worldwide competition. It issued its call for proposals on 20 December 2016[15], received 82 submission packages[16] and accepted 69[16] as first-round candidates. After years of public attack it named its choices on 5 July 2022[15] and published the first three standards on 13 August 2024[1].

StandardBuilt fromJobBased onStatus
ML-KEM (FIPS 203)CRYSTALS-KyberKey establishmentModule latticesPublished August 2024[1]
ML-DSA (FIPS 204)CRYSTALS-DilithiumSignaturesModule latticesPublished August 2024[1]
SLH-DSA (FIPS 205)SPHINCS+SignaturesHash functions[17]Published August 2024[1]
FN-DSA (FIPS 206)FalconSignaturesNTRU lattices[18]In development[1]
HQCHQCBackup key establishmentError-correcting codes[19]Standard under development[11]

ML-KEM is the one most systems will meet first, because it replaces today's key exchange. FIPS 203 calls it a variant of CRYSTALS-Kyber, based on the Module Learning With Errors assumption[4]. A lattice is a regular grid of points in many dimensions. Learning With Errors hides a secret inside many equations that are each slightly wrong; without the secret, untangling them means solving a hard lattice problem.

HQC was chosen because it is based on a different underlying security problem[19], a spare in case lattices weaken. In March 2025[1] NIST said it expected a final HQC standard in approximately two years[19]; in October 2026 it still described the standard as under development[11]. Lattice cryptography explained and the NIST standards guide go deeper.

Why is the move happening now if no quantum computer can break RSA yet?

NIST treats cryptographically relevant quantum computers as not existing yet, but says the world must plan ahead, because moving to a new algorithm has historically taken 10 to 20 years[3]. Three things make that urgent:

  1. Harvest now, decrypt later. Attackers can record encrypted traffic today and keep it until a quantum computer can read it. NIST calls this one of the main reasons[11] the transition is urgent. Anything that must stay secret for years, such as health records, national ID data or contracts, is exposed now. Harvest now, decrypt later explains which data matters most.
  2. Deadlines. NIST will deprecate quantum-vulnerable public-key algorithms after 2030[11] and disallow them after 2035[11]. Signatures cannot be harvested the same way, but NIST says moving them is also urgent[11], because that transition takes longer and needs more parties to coordinate.
  3. The December warnings. On 2 December 2026[20] US agencies said companies building what they call Super Intelligence had disclosed discoveries that impact the security of some cryptography currently in use[20], and the NSA told national security system owners to “immediately accelerate the transition to post-quantum cryptography”[21]. Eight technology companies[22] backed the US guidance.

None of this means a deployed algorithm has been shown broken in public. The agencies' own assessment is that the recent advances “do not present an immediate and widespread threat”[20], and Anthropic, whose November lattice papers made headlines, says its algorithms are “not practical for the parameter sets of ML-KEM and ML-DSA”[23]. Why the migration suddenly accelerated has the full story.

What does hybrid mean in post-quantum cryptography?

A hybrid scheme runs a classical algorithm and a post-quantum one together and combines their results. In key exchange that usually means X25519, an elliptic-curve method that Cloudflare says secures the majority of internet connections[24], plus ML-KEM. NIST's stated goal for hybrids is that derived keys remain secure if at least one of the component schemes is secure[11]. An attacker has to break both.

Why not jump straight to the new algorithms? Because new algorithms can fail. SIKE, a fourth-round candidate in NIST's competition, was broken[19]: Wouter Castryck and Thomas Decru's attack recovered a SIKEp434 key in about ten minutes on a single core[25]. Google noted that several leading candidates had been broken on inexpensive and commercially available hardware[26]. Hybrids are the insurance against that kind of classical break, though against a large quantum computer only the post-quantum half counts. They are not free: the UK's NCSC notes that hybrid schemes are more complex to implement and maintain and less efficient[12], and treats them as an interim measure[12] on the way to post-quantum-only systems.

The big deployments are hybrid. Signal's PQXDH, announced in September 2023[27], combines X25519 with CRYSTALS-Kyber so that any attacker must break both[27]. Apple's iMessage PQ3, announced in February 2024[28], was shown to be secure as long as either the elliptic curve Diffie-Hellman problem stays hard or the Kyber KEM stays secure[28].

The other half of the answer is crypto-agility: building systems so you can swap one algorithm for another by changing configuration rather than rewriting software. After its lattice papers, Anthropic recommended hybrid setups and agile systems that can be switched quickly if flaws are found in any given method[29], and the CIRG review group urged hybrids that combine schemes based on different mathematical foundations[30]. Crypto-agility and cryptographic inventory shows how.

What should a Kenyan organisation do first?

  • List your cryptography. Find where you use RSA and elliptic-curve keys: TLS certificates, VPNs, payment and partner APIs, code signing, hardware security modules.
  • Rank data by how long it must stay secret. Health, identity and financial records come first.
  • Turn on hybrid key exchange in TLS where your servers and load balancers support it. How to enable post-quantum TLS walks through it.
  • Ask vendors for dates. Core banking systems, payment switches, cloud providers and phone platforms all sit in your path.

Kenya's Data Protection Act already points this way. Its section 41[31] lists the pseudonymisation and encryption of personal data among the measures to consider, with safeguards kept up to date against new risks, and section 42[31] asks controllers to weigh the state of technological development. Post-quantum readiness for Kenyan and African businesses turns this into a checklist.

For developers: what changes in your code and protocols?

The API shape changes. Diffie-Hellman is symmetric: both sides send a public value and compute the same secret. A KEM runs one way:

Receiver:  (ek, dk) = KeyGen()        publish ek, keep dk secret
Sender:    (K, c)   = Encaps(ek)      send ciphertext c, keep shared key K
Receiver:  K        = Decaps(dk, c)   recover the same K

In TLS 1.3 this hides inside the key share, so most application code does not change; libraries and configuration do.

Sizes grow. An ML-KEM-768 encapsulation key is 1,184 bytes[4] and its ciphertext 1,088 bytes[4], for a 32-byte[4] shared secret. An ML-DSA-44 signature is 2,420 bytes[32], against 256 bytes[18] for an RSA-2048 signature. Cloudflare notes that adding ML-KEM typically splits the TLS ClientHello across two packets[33], and tldr.fail documents buggy servers that reject connections that use post-quantum cryptography[34] instead of falling back.

Pick parameters on purpose. NIST recommends ML-KEM-768 as the default parameter set[11], the NCSC recommends ML-KEM-768 and ML-DSA-65 for most use cases[12], and the CIRG recommends the highest security level each application can support[30].

Upgrade the stack rather than hand-rolling. OpenSSL 3.5.0, released on 8 April 2025[35], added ML-KEM, ML-DSA and SLH-DSA and offers X25519MLKEM768 and X25519[35] as default key shares. Go's crypto/tls turns on X25519MLKEM768 by default from Go 1.24[36]. The hybrid groups for TLS 1.3, X25519MLKEM768 among them, were standardised in RFC 10024 in August 2026[37]. Implementation details matter: KyberSlash, a timing leak in several Kyber libraries, came from a line of code that divides a secret numerator by a public denominator[38], and maintainers swiftly patched[39] it.

Test before you flip defaults. tldr.fail suggests connecting to your server from Chrome 131 or newer on desktop[34]; a reset connection means the server mishandles the larger handshake. The post-quantum TLS developer guide has configurations, and the risks of migration covers what can go wrong.

Frequently asked questions

Is post-quantum cryptography the same as quantum cryptography?
No. Post-quantum cryptography is ordinary software: new maths that runs on the phones, laptops and servers you already have. Quantum cryptography, such as quantum key distribution, uses quantum physics itself and needs special hardware. The NIST standards on this page are post-quantum cryptography.
Am I already using post-quantum cryptography?
Quite possibly. Cloudflare said in April 2026[40] that over 65% of human traffic[40] to its network is post-quantum encrypted, Google moved Chrome's hybrid key exchange to ML-KEM in Chrome 131[41], and Apple's iOS 26[42] offers it by default. Signal and iMessage added post-quantum protection in 2023[27] and 2024[28].
Is AES-256 quantum safe?
Yes. A quantum computer speeds up brute-force search, but NIST expects even AES-128 to remain secure for decades[10], and says that if Grover's algorithm ever becomes practical, doubling the key size will be sufficient[2]. AES-256 already has that margin. Is AES-256 quantum safe? explains why.
What does this mean for M-Pesa and Kenyan banking apps?
They rely on the same kinds of public-key cryptography as the rest of the internet, so the same move applies. Safaricom's Daraja documentation, as archived in December 2019[7], describes encrypting an API password with RSA under the M-Pesa public key. Ask your bank, payment provider and vendors for their post-quantum plans.
When will quantum computers break RSA?
No one knows. NIST says experts' estimates range from a few years to a few decades[3]. The estimated size of the machine needed keeps falling, which is why the migration is starting now. When will quantum computers break encryption? compares the forecasts.
What is a KEM?
A key-encapsulation mechanism. NIST defines it as “a set of algorithms that can be used by two parties under certain conditions to securely establish a shared secret key over a public channel”[5]. ML-KEM is one, and it does the job Diffie-Hellman key exchange does today.

Sources

  1. [1] NIST CSRC, 2 December 2026, checked 4 December 2026
  2. [2] NIST, April 2016, checked 4 December 2026
  3. [3] NIST, 27 February 2026, checked 4 December 2026
  4. [4] NIST, 13 August 2024, checked 4 December 2026
  5. [5] NIST CSRC, September 2025, checked 4 December 2026
  6. [6] NIST CSRC, 13 August 2024, checked 4 December 2026
  7. [7] Safaricom Daraja developer portal (API Documentation), Internet Archive snapshot of 10 December 2019, 10 December 2019, checked 4 December 2026
  8. [8] WhatsApp (Meta), WhatsApp Encryption Overview technical white paper, 30 October 2026, checked 4 December 2026
  9. [9] Rivest, Shamir and Adleman (author's copy on Ronald Rivest's MIT page), February 1978, checked 4 December 2026
  10. [10] NIST CSRC, 18 November 2018, checked 4 December 2026
  11. [11] NIST, October 2026, checked 4 December 2026
  12. [12] UK National Cyber Security Centre, 14 August 2024, checked 4 December 2026
  13. [13] Google, 23 May 2025, checked 4 December 2026
  14. [14] Google, 9 December 2024, checked 4 December 2026
  15. [15] NIST CSRC, 2 December 2026, checked 4 December 2026
  16. [16] NIST, January 2019, checked 4 December 2026
  17. [17] NIST, 13 August 2024, checked 4 December 2026
  18. [18] Falcon team (falcon-sign.info), checked 4 December 2026
  19. [19] NIST, March 2025, checked 4 December 2026
  20. [20] CISA, 2 December 2026, checked 4 December 2026
  21. [21] National Security Agency, 2 December 2026, checked 4 December 2026
  22. [22] Anthropic, 2 December 2026, checked 4 December 2026
  23. [23] Anthropic (GitHub, anthropics/formal-math), 30 November 2026, checked 4 December 2026
  24. [24] Cloudflare, 28 October 2025, checked 4 December 2026
  25. [25] IACR Cryptology ePrint Archive, 30 July 2022, checked 4 December 2026
  26. [26] Google (Chromium Blog), 10 August 2023, checked 4 December 2026
  27. [27] Signal (blog), 19 September 2023, checked 4 December 2026
  28. [28] Apple Security Research, 21 February 2024, checked 4 December 2026
  29. [29] Anthropic (X post), 30 November 2026, checked 4 December 2026
  30. [30] Cryptography Incident Review Group, 30 November 2026, checked 4 December 2026
  31. [31] Republic of Kenya, Data Protection Act No. 24 of 2019 (Kenya Gazette Supplement No. 181), copy hosted by the Office of the Data Protection Commissioner, 11 November 2019, checked 4 December 2026
  32. [32] NIST, 13 August 2024, checked 4 December 2026
  33. [33] Cloudflare Docs, 23 November 2026, checked 4 December 2026
  34. [34] tldr.fail, checked 4 December 2026
  35. [35] OpenSSL Library, 8 April 2025, checked 4 December 2026
  36. [36] The Go Project, 11 February 2025, checked 4 December 2026
  37. [37] RFC Editor (IETF), August 2026, checked 4 December 2026
  38. [38] KyberSlash team (Bernstein et al.), 24 June 2024, checked 4 December 2026
  39. [39] KyberSlash team (Bernstein et al.), 15 January 2025, checked 4 December 2026
  40. [40] Cloudflare, 7 April 2026, checked 4 December 2026
  41. [41] Google (Online Security Blog), 13 September 2024, checked 4 December 2026
  42. [42] Apple Support, 18 June 2026, checked 4 December 2026

Related guides