Post-Quantum Cryptography in Blockchain

Post-quantum cryptography replaces ECDSA with lattice-based algorithms like CRYSTALS-Dilithium to guard blockchain keys against Shor's algorithm

TECH & NETWORKS6 min readBy AlgoSys Editorial TeamPublished Apr 25, 2026Updated Nov 28, 2026
Contents

Post-quantum cryptography (PQC: a set of algorithms resistant to attacks by quantum computers) grew out of a straightforward concern: large quantum machines could break the public-key cryptography that underpins nearly all of internet security and blockchain technology. PQC's goal is to give the industry a migration path to quantum-resistant standards before the threat becomes real.

The root of the problem is the vulnerability of asymmetric schemes, primarily RSA and ECC, to Shor's algorithm. This algorithm efficiently factors large numbers and computes discrete logarithms, and it is the difficulty of those operations that today's cryptosystems rely on for their security. PQC research began in earnest in the early 2000s, and in 2016 NIST (the U.S. National Institute of Standards and Technology) launched a formal standardization process, and in August 2024 it approved the first standards: FIPS 203 (ML-KEM, formerly CRYSTALS-Kyber), FIPS 204 (ML-DSA, formerly CRYSTALS-Dilithium) and FIPS 205 (SLH-DSA, formerly SPHINCS+).

PQC slots into the network stack straightforwardly: new algorithms replace or augment old ones wherever public keys are currently used, that is, in key exchange, digital signatures, and encryption. This applies to securing communication channels, verifying transaction authenticity, and protecting data that a blockchain stores or transmits. The end goal is for data confidentiality and integrity to survive the arrival of the quantum era.

The idea itself is not new. Peter Shor published his algorithm back in 1994, so the cryptographic implications of quantum computing have been discussed since the 1990s. Practical quantum computers capable of breaking today's cryptography do not yet exist; they are still being developed. But that is precisely why PQC is being developed and deployed proactively: the infrastructure needs to be ready before the threat arrives, not after.

MECHANICS

All PQC algorithms rest on mathematical problems considered hard for both classical and quantum computers. There are several such families: lattice-based cryptography, code-based cryptography, multivariate polynomial cryptography, and hash-based signatures. Each draws on its own mathematical structure, but they all share one aim: leave the attacker with a problem that no quantum algorithm can speed up.

The front-runner in standardization is lattice-based cryptography. Its security rests on hard lattice problems: the Shortest Vector Problem (SVP) and Learning With Errors (LWE). CRYSTALS-Kyber for key encapsulation (the secure delivery of an encryption key) and CRYSTALS-Dilithium for signatures are two representative examples of lattice-based PQC built on this foundation.

In a blockchain context, PQC would protect node-to-node communication, transaction signing, and smart contract interactions. In practice, a post-quantum signature scheme would replace the current ECDSA: each participant generates a new key pair using a PQC algorithm, signs transactions with their private key, and nodes verify them with the public key. The logic is the same as today; only the mathematics under the hood changes.

That substitution comes at a cost. Post-quantum algorithms generally require more computation and produce larger keys and signatures, and sometimes longer processing times. For a blockchain this means pressure on throughput and block size. Optimization and careful implementations are therefore critical, especially on resource-constrained networks.

KEY COMPONENTS

The transition to PQC consists of several parts moving in parallel: some work is being done by standardization bodies, some involves protocol changes, and some means new tools for users. Here are the main pillars of this transition.

  • NIST Standardization: a multi-year process of selecting and approving quantum-resistant algorithms, setting the benchmark for the entire industry.
  • Lattice-based cryptography: the leading PQC family, including CRYSTALS-Kyber and CRYSTALS-Dilithium, valued for the combination of efficiency and security.
  • Hash-based signatures: another category with strong security guarantees: stateful schemes such as XMSS and LMS limit the number of signatures per key, while SPHINCS+ (standardized as SLH-DSA) has no such limit but produces large signatures.
  • Hybrid cryptography: a transitional technique in which a classical and a post-quantum algorithm operate together, covering both classical and future quantum threats simultaneously.
  • Quantum-resistant wallets: wallets with PQC support for key generation and transaction signing, protecting users' assets.
  • Protocol updates: changes to blockchain protocols so that PQC works in node communication, consensus mechanisms, and transaction verification.
  • Smart contract libraries: PQC libraries that give decentralized applications quantum-resistant security.

APPLICATIONS

PQC's primary purpose is to give digital infrastructure long-term protection against quantum threats. For blockchain networks, this comes down to preserving the safety of transactions, smart contracts, and cross-network communication.

Protocols such as Ethereum and Solana are already actively researching and planning PQC integration. The question is how to update consensus mechanisms and transaction signing processes so they become quantum-resistant. The point is simple: guarantee that assets and data on these networks remain protected for decades to come.

Beyond core blockchain operations, PQC will be needed by decentralized identity solutions, decentralized storage networks like IPFS and Filecoin, and cross-chain communication protocols. In essence, any application whose security relies on public-key cryptography will eventually migrate to PQC standards.

Ready-to-run production deployments on PQC are still scarce; everything is at an early stage. But the NIST standardization and the proactive research by major blockchain foundations set a clear direction. The main goal here is robust migration strategies that let the industry avoid a cryptographic cliff, the moment when quantum computers grow powerful enough to break existing systems and the network is not ready.

To understand the scale of the cost that comes with security, a concrete numerical example is helpful. Take a typical ECDSA signature of roughly 64 bytes (the exact figure depends on encoding). A lattice-based post-quantum signature is dozens of times larger: about 2.4 KB for ML-DSA-44 (Dilithium).

  • Input: a transaction that was previously signed with a compact ECDSA signature of about 64 bytes.
  • Replacement: the same transaction, but with a post-quantum signature that weighs roughly 35 to 40 times more.
  • Effect: the "payload" portion of the transaction has not changed, but the overhead signature is heavier, so fewer transactions fit in a fixed-size block.
  • Result: with an unchanged block gas limit, more bytes compete for the same space, so fees rise and verification takes slightly longer.

How to tell real gain from illusory: switching to PQC makes sense when you are protecting long-lived data (keys, identity, assets) that must survive the arrival of quantum machines. If you are dealing with short-lived data that loses its value within days, the extra signature weight and rising fees may not be worth it, and a hybrid scheme or a deferred migration is more reasonable here.

TRADE-OFFS

The core trade-off of PQC is the increase in computational costs and in key and signature sizes compared to current algorithms like ECDSA. Lattice cryptography, for all its efficiency, can produce signatures dozens of times larger than ECDSA, which directly affects transaction size and contributes to blockchain bloat. Comparing the two schemes directly is the clearest way to see this.

Parameter ECDSA (today) Lattice PQC
Signature size compact (about 64 bytes) dozens of times larger (ML-DSA-44 about 2.4 KB)
Key size small noticeably larger
Transaction weight low higher; blocks fill up faster
Verification fast slightly slower
Maturity decades of real-world analysis broad research, little deployment
Resistance to quantum attacks no yes

More data means higher transaction fees (gas) on networks like Ethereum, especially if the block gas limit stays unchanged. Protocols will need to be adjusted to accommodate larger data payloads and potentially longer verification times. The balance to strike is increased long-term security against immediate performance metrics such as throughput and cost.

A separate question is maturity and trust. Despite extensive research, PQC algorithms have not undergone the same years of real-world scrutiny as RSA or ECC. The transition therefore requires careful implementation and ongoing monitoring to ensure the chosen standards actually maintain the promised level of protection against both classical and quantum adversaries.

FAQ

Why is a quantum computer dangerous for blockchain?

The security of signatures and addresses rests on the difficulty of inverting RSA and ECC functions. Shor's algorithm on a sufficiently powerful quantum computer can efficiently factor large numbers and compute discrete logarithms. This means a private key could be recovered from a public key, allowing signatures to be forged and other people's funds to be controlled.

When will quantum computers capable of breaking cryptography appear?

Practical machines of that scale do not yet exist; they are still under development. No one names a precise date, which is why the industry is preparing in advance. The danger is that data intercepted today can be decrypted later, once the hardware catches up. That is the "harvest now, decrypt later" approach.

What is lattice-based cryptography?

It is the leading family of post-quantum algorithms, whose security rests on hard problems about geometric lattices: the Shortest Vector Problem (SVP) and Learning With Errors (LWE). CRYSTALS-Kyber for key exchange and CRYSTALS-Dilithium for signatures are both built on it. These problems are considered hard for both classical and quantum computers.

How is PQC worse than familiar ECDSA?

The main cost is size. Post-quantum signatures and keys are dozens of times larger than ECDSA, so transactions are heavier, blocks fill up faster, and fees (gas) rise if the block gas limit is not raised. Verification can also take slightly longer.

Why is hybrid cryptography needed during the transition period?

A hybrid combines a classical and a post-quantum algorithm in a single operation. While new algorithms have not yet undergone the same years of scrutiny as RSA, this approach provides cover on both sides: if the quantum threat materializes, the PQC component protects you; if a flaw is found in the new algorithm, the classical component holds.

Can PQC algorithms be trusted already?

They have been extensively studied, but they have not gone through decades of real-world deployment the way RSA and ECC have. This is why the transition requires careful implementation and continuous monitoring of standards. The NIST standardization process launched in 2016 reduces this risk by vetting algorithms through years of open analysis.

Put this to work in the terminal

Live charts, derivatives, on-chain and macro data, free.

Open terminal →