Post-Quantum Cryptography in 2026 — What Developers Actually Need to Know

Every developer has heard the disclaimer: "not secure for post-quantum use." Most of us have ignored it. In 2026, that's no longer a safe posture. The migration is no longer hypothetical — the new standards are public, the libraries have shipped, and "harvest now, decrypt later" attacks mean the data you send today could be broken years from now.

I'm a developer, not a cryptographer. This post is the practical lay-of-the-land I've built up reading the standards, running the tools, and figuring out what actually changes in a real codebase — the algorithms, what they replace, and the concrete migration steps for a web app or a smart contract.

Quantum Genesis NFT #28 — art whose seed outlives the math

What "quantum" actually threatens

Quantum computers threaten a specific class of classical math: factoring and discrete logarithms. RSA, elliptic-curve Diffie-Hellman (ECDH), ECDSA — the workhorses of TLS, SSH, and virtually every cryptocurrency — all rest on problems a sufficiently large quantum computer (using Shor's algorithm) could solve in polynomial time.

Not everything quantum threatens is equal. Symmetric crypto (AES, SHA) is only partially at risk via Grover's algorithm, which roughly halves the effective key length — doubling the key size is an adequate defense. The urgent problem is asymmetric crypto used for key exchange and signatures. That's the part that must be replaced.

The NIST standards, in plain terms

In 2024 NIST finalized three post-quantum schemes, and more are landing:

  • ML-KEM (formerly Kyber, FIPS 203) — a key-encapsulation mechanism. Replaces the key-exchange part of TLS: where you'd use ECDH to agree on a shared secret, you now use ML-KEM.
  • ML-DSA (formerly Dilithium, FIPS 204) — a signature scheme. Replaces ECDSA/RSA for signing, with fast verification and relatively small signatures.
  • SLH-DSA (formerly SPHINCS+, FIPS 205) — a stateless hash-based signature. The conservative, "only relies on hash function security" option; larger keys and signatures, but zero post-quantum assumptions beyond AES/SHA.

There's also FN-DSA (Falcon) on the way, and LMS/XMSS (stateful hash-based) already standardized for niche embedded uses.

The important engineering takeaway: these aren't drop-in replacements with the same key and ciphertext sizes. ML-KEM ciphertexts and ML-DSA signatures are much larger than their classical equivalents, and keys are larger too. That has real implications for bandwidth, storage, and protocol framing.

What this changes in practice in 2026

By 2026 the migration is well underway in the mainstream stack:

  • TLS 1.3 supports hybrid key exchange combining a classical curve (like X25519) with a PQ scheme (like ML-KEM). The trend is hybrid — run both in parallel so that if either crypto is broken, the other still holds.
  • SSH and major libraries (OpenSSL, BoringSSL, liboqs) ship PQ primitives, often enabled behind configuration flags.
  • X.509 certificates and identity are moving toward ML-DSA or SLH-DSA signatures, though deployment is slower because of the interoperability and size costs.

For a normal developer you mostly stop doing cryptography yourself and start configuring your stack's TLS and signing correctly. The dangerous place to hand-roll is anywhere you generate keys or verify signatures that must remain secure for years.

What a web developer should actually do

Here's my migration checklist, ordered by where the risk concentrates:

  1. Turn on hybrid TLS key exchange in your load balancer, CDN, or application server. Modern OpenSSL makes this a flag: you get a post-quantum layer for free alongside your existing ECDH, with graceful fallback for legacy clients.
  2. Use an up-to-date TLS stack. The handshake strength only matters if your server software is current enough to even offer PQ cipher suites.
  3. Mind your dependency that persists secrets. Cookie values, tokens, and anything encrypted-at-rest with an asymmetric scheme should be migrated to a PQ or hybrid scheme. Anything you only need transiently (a TLS session) is lower priority.
  4. Reconsider ECDSA verification if you have clients that sign. If your service validates client signatures and those signatures need to survive years, plan for ML-DSA or SLH-DSA.

The single biggest practical risk is "harvest now, decrypt later." An attacker records your encrypted TLS traffic today; in ten years they decrypt it with a quantum computer. That means the key exchange protecting long-lived data matters even if your transient sessions feel fine.

The smart-contract angle

Blockchain developers have a specific worry: every transaction is signed with ECDSA (secp256k1) over an account's key. A practical quantum computer would let anyone forge transactions from any address whose public key is exposed. Ethereum mitigated the immediate visibility problem long ago (addresses are hashes of public keys, so an unspent address keeps its pubkey hidden), but once a pubkey is revealed — on first spend — it becomes forgeable in a post-quantum world.

What this means practically in 2026:

  • Key material should not be exposed any earlier than necessary. That's already how most chains work, but it's a reminder not to add features that reveal public keys prematurely.
  • Watch for account abstraction upgrades that add a post-quantum signing path. As chains move to abstraction, they have room to add PQ-friendly verification without breaking legacy accounts.
  • Don't re-invent. If you're building a contract that verifies external signatures (say, a signature-based mint gate with an off-chain oracle), don't assume ECDSA forever — design the verification interface so it can accept a hybrid or PQ signature later.

Common misconceptions

  • "Quantum computers exist, so everything's broken now." Not yet. Current devices can't run Shor's algorithm at useful sizes. The risk is harvest-now and the long horizon of your data, not today's immediate break.
  • "Just double the key size." That works for AES/classical symmetric, but it does not save RSA or ECDSA — those break categorically under Shor regardless of size.
  • "PQ algorithms are immature." The math has been studied for decades and the NIST process was rigorous. What needs care is engineering (sizes, implementations, side channels), not fundamental soundness.
  • "I don't sign anything, so I'm safe." If your TLS session keys are ECDH, you're in the key-exchange boat even if you never sign a thing.

Where to start today

The cheapest high-value action: check what TLS key exchange your production endpoints use, and enable a hybrid PQ suite if your stack supports it. Next: figure out whether any data you store or exchange must remain confidential for more than a few years — that's your harvest-now exposure. That short, bounded exercise covers 90% of the risk for most applications, and it doesn't require becoming a cryptographer.

Quantum Genesis NFT #56 — A reminder that your data may outlive today’s crypto

The way I think about it now: post-quantum migration is less like an emergency patch and more like the IPv6 or Y2K-style transitions — a slow, structural upgrade with a hard deadline we can't see yet. The code you ship in 2026 is the code that will still be in production when the machines get big. Building the PQ awareness into your defaults now is a lot cheaper than explaining it after the fact.

Comments

Popular posts from this blog

Getting Your Collection Visible on OpenSea, Step by Step

Polygon versus Ethereum for an NFT contract, from the gas bills up

Quantum Error Correction, or Why Your Qubits Forget What They Were Doing