What is Post-Quantum Cryptography (PQC)?
Post-quantum cryptography (PQC), also called quantum-resistant or quantum-safe cryptography, is a family of public-key algorithms designed to withstand attacks from quantum computers. It runs as software on ordinary computers, phones and servers and needs no quantum hardware. Based on current analysis, it is hard to break for both classical and quantum computers.
The public-key cryptography that protects websites, email and blockchain transactions today relies on mathematical problems that are practically impossible for classical computers to solve but that a sufficiently powerful quantum computer could solve efficiently. The algorithms Bitcoin and Ethereum use to sign transactions fall into this category. The job of post-quantum cryptography is to replace them with new algorithms before such a quantum computer exists.
The quantum threat: a sufficiently powerful quantum computer can derive a private key from its public key
Public-key cryptography gives each user a pair of keys: a private key that stays secret and a public key that can be shared. Digital signatures and website encryption are built on it. Its security rests on math problems that are easy to compute in one direction but extremely hard to reverse. For example, multiplying two very large prime numbers takes an instant, but recovering those two primes from their product alone would take a classical computer an unimaginably long time. RSA relies on this kind of factoring problem; the elliptic-curve cryptography used by Bitcoin and Ethereum relies on a different one, known as the "discrete logarithm" problem.
Quantum computers compute with quantum bits, or qubits. A qubit can exist in a superposition of 0 and 1, which lets a quantum computer handle certain problems in ways a classical computer cannot. A quantum computer is not "a computer that does everything faster." Its advantage applies only to a few specific types of math problems, and the two problems public-key cryptography depends on happen to be among them.
In 1994, mathematician Peter Shor introduced Shor's algorithm, showing that a sufficiently powerful quantum computer could efficiently solve both the factoring and the discrete logarithm problems. This is the "quantum threat": once such a quantum computer exists, an attacker could derive a private key from the public key, then decrypt communications and forge signatures. For this reason, RSA and elliptic-curve signatures are both classified as vulnerable to quantum attack.
Another quantum algorithm, Grover's algorithm, can speed up "try every possibility" searches, but only to a limited degree. As a result, quantum computers have a much smaller effect on two other common types of cryptography:
| Type of cryptography | Common algorithms | Impact of quantum computers |
|---|---|---|
| Public-key cryptography | RSA, elliptic-curve signatures (such as ECDSA, the Elliptic Curve Digital Signature Algorithm) | High: Shor's algorithm can derive the private key from the public key, so these must be replaced |
| Symmetric encryption (the same key encrypts and decrypts) | AES | Low: Grover's algorithm only speeds up brute-force search to roughly its square root |
| Cryptographic hash (turns data into a fixed-length "digital fingerprint") | SHA-256 | Low: likewise only affected to a limited degree by Grover's algorithm |
So what post-quantum cryptography needs to replace is public-key cryptography. Symmetric encryption and hash functions can keep their existing standards; where a larger security margin is needed (the amount by which an algorithm's actual strength exceeds the minimum requirement), it is enough to choose longer keys or outputs.
No quantum computer today can break current public-key cryptography. Qubits are extremely fragile, and slight interference causes errors. Breaking cryptography would require a large number of error-corrected "logical qubits," each built from many physical qubits, while today's quantum hardware has only thousands of error-prone physical qubits.
What post-quantum cryptography does: it replaces public-key cryptography that quantum computers could break, protecting encrypted communication and digital signatures
Public-key cryptography does two foundational jobs in the digital world, and these are exactly the jobs post-quantum cryptography takes over:
- Encrypted communication: Websites, email, messaging apps and financial systems use public-key cryptography to agree on keys over public networks, so that only the recipient can read the content. If this protection fails, data that was meant to stay confidential could be read.
- Digital signatures: These prove that a message, a software update or a transaction really came from a particular sender and has not been tampered with. If this protection fails, attackers can impersonate others.
Current encryption protects almost every online activity, from email and photos to medical records and national security information. If public-key cryptography were broken, the impact would reach the many systems that depend on it, not just a single application.
Blockchains depend even more directly on the second job. On-chain, there is no account password, ID document or customer support team that can prove who owns an asset: whoever can produce a valid signature with the private key can move the asset. If signatures can be forged, assets can be taken.
How post-quantum cryptography works: it switches to math problems, such as lattices and hashes, that quantum computers also struggle to solve
Shor's algorithm targets factoring and discrete logarithms specifically. The idea behind post-quantum cryptography is to switch to different kinds of math problems for which quantum computers also have no shortcut. The two main families today are:
- Lattice-based cryptography: A lattice can be loosely pictured as an extremely high-dimensional grid made of countless points, and the problem is to find points in it that meet certain conditions. No efficient method for solving these problems is known on either classical or quantum computers. Among post-quantum schemes, lattice-based algorithms have relatively small keys and signatures and run fast, which has made them the mainstream choice, although they are still clearly larger than today's elliptic-curve signatures.
- Hash-based signatures: Their security depends only on hash functions. Quantum computers gain only a limited speedup against hashes, so these signatures are generally seen as a conservative choice, at the cost of larger signatures.
Like today's cryptography, these algorithms are implemented in software, and their security comes from mathematical complexity. Moving from current cryptography to post-quantum cryptography is essentially a software and protocol upgrade; it does not require switching to quantum hardware.
NIST has published three post-quantum cryptography standards: ML-KEM, ML-DSA and SLH-DSA
The U.S. National Institute of Standards and Technology (NIST) launched an open worldwide call for algorithms in 2016 and, after several rounds of public evaluation, published its first three post-quantum cryptography standards on August 13, 2024:
| Standard | Algorithm | Mathematical basis | Purpose |
|---|---|---|---|
| FIPS 203 | ML-KEM | Lattices | Key encapsulation: lets two parties agree on a shared key over a public network for encrypted communication |
| FIPS 204 | ML-DSA | Lattices | Digital signatures, as the primary signature standard |
| FIPS 205 | SLH-DSA | Hash functions | Digital signatures, as a backup that does not rely on lattices |
For blockchains, the most relevant are the two signature standards, ML-DSA and SLH-DSA, because blockchains rely on signatures to confirm who is authorized to move assets. In March 2025, NIST also selected HQC, which is based on a different kind of math problem, as a backup to ML-KEM, and it continues to evaluate additional signature algorithms in case any one family is later found to have a weakness. During the transition, many systems will combine traditional and post-quantum algorithms; by design, the combination stays secure as long as either one remains secure.
Why migration has already begun before quantum computers exist: replacement takes 10 to 20 years, and data can be "harvested now, decrypted later"
Standards bodies, governments and the technology industry have started migrating before quantum computers arrive, for two reasons:
- Replacing cryptography takes a long time. A new cryptographic algorithm can take 10 to 20 years to go from standardization to widespread use: software, hardware, protocols and devices all have to be updated one by one, and old systems must stay compatible with new ones. Waiting until quantum computers appear before starting would leave a long period without protection.
- Data can be "harvested now, decrypted later." Attackers can intercept and store encrypted data today, then decrypt it once quantum computers are powerful enough. Government secrets, financial information and business data that must stay confidential for years could be read in the future even if they were transmitted securely today, which is why the sooner encrypted communication migrates, the better.
Blockchains face a different timing problem. Signatures themselves are not exposed to "harvest now, decrypt later": once a transaction has been signed and confirmed, breaking that signature later does not change it. The risk lies in the public key. Once a public key is written on-chain it cannot be withdrawn, and in the future someone could use it to derive the private key and forge new signatures to move whatever assets remain at that address or in that account.
For these reasons, NIST set out a timeline in its migration report IR 8547, published in October 2026: after 2030, quantum-vulnerable public-key algorithms will be "deprecated," meaning they can still be used but carry security risk; after 2035, they will be disallowed under NIST standards and guidance. This timeline applies to systems that adopt NIST standards. Whether and when Bitcoin and Ethereum adopt post-quantum algorithms is decided by each community through protocol upgrades.
How AI affects post-quantum cryptography: it has sped up cryptographic research and migration, but has not broken deployed algorithms
Beyond quantum computing, AI is becoming another factor in cryptographic security. Frontier AI models have begun to take part in cryptanalysis: reviewing algorithm designs, looking for mathematical weak points and even designing quantum algorithms. This adds another layer of uncertainty to the question of how long today's cryptography will stay secure, and it makes migration more urgent.
The most widely discussed example came on November 30, 2026, when the AI company Anthropic released four papers on lattice cryptography, stating that the results were discovered by an internal research AI model. One paper presents a theoretical quantum algorithm that solves certain "module lattice" problems (lattices with a special algebraic structure that allows smaller keys and faster computation) with better asymptotic speed, and these are the kinds of problems on which the security of ML-KEM and ML-DSA rests. "Asymptotic" means the advantage only appears once a problem becomes large enough. Anthropic also states that these results are not practical for the parameter sets that ML-KEM and ML-DSA actually use.
On December 1, the UK's National Cyber Security Centre (NCSC) issued a statement describing this as significant theoretical research that does not threaten the standardized and deployed ML-KEM and ML-DSA; turning it into a practical attack would require enormous resources, far beyond any realistically foreseeable computer. The NCSC said its advice to organizations is unchanged: keep migrating to post-quantum cryptography as planned, and build systems that can switch algorithms when needed. The U.S. Office of the National Cyber Director (ONCD), the National Security Agency (NSA) and the Cybersecurity and Infrastructure Security Agency (CISA) also recently issued a joint statement (checked for this article in December 2026): some AI companies have disclosed discoveries that affect the security of some cryptography currently in use; the current assessment is that these do not present an immediate and widespread threat, and the statement calls for accelerating the transition to post-quantum cryptography.
Taken together, these developments show AI affecting post-quantum cryptography in three ways:
- It makes cryptanalysis faster. AI can propose and test new attack ideas more quickly, although checking whether those results hold up still takes a great deal of human effort. This could expose weaknesses in existing algorithms and could also erode the security margin of post-quantum algorithms. The results above all remain theoretical and have not broken any deployed algorithm.
- It may lower the resources a quantum attack needs. AI has already been used to design more resource-efficient quantum circuits, including for a key step in elliptic-curve arithmetic, which is the core of using a quantum computer to attack elliptic-curve signatures. Lower resource requirements mean a quantum computer capable of posing a threat might be smaller than previously estimated. Quantum hardware itself, however, is still the bottleneck, and there is no evidence that such advances have brought forward the arrival of a quantum computer capable of breaking cryptography.
- It also helps defenders. New algorithms go through public review before they are deployed, and during NIST's selection process some candidate algorithms were eliminated after fatal weaknesses were found. Using AI to review algorithms can bring such problems to light earlier.
For blockchains, the conclusion is not that "post-quantum cryptography is unreliable" but that the ability to replace algorithms has become more important. This ability is called "cryptographic agility": if an algorithm is found to have a weakness, a system can switch to another one quickly without being rebuilt from scratch. NIST's backup algorithms based on different math problems and Ethereum's plan to let accounts change their own signature methods (see below) both address this problem.
What post-quantum cryptography means for Bitcoin and Ethereum: transaction signatures could be broken by quantum computers, and addresses and accounts with on-chain public keys face higher risk
Bitcoin's common address types and Ethereum's ordinary accounts both use signatures on secp256k1 (the elliptic curve chosen by Bitcoin and Ethereum): Bitcoin uses ECDSA and, since the Taproot upgrade, also supports Schnorr signatures (another elliptic-curve signature algorithm with shorter signatures that also makes it easier for multiple parties to jointly produce a single signature); Ethereum uses ECDSA. To spend assets, the holder signs a transaction with the private key, and the network checks the signature with the public key. All of these signature algorithms are within reach of Shor's algorithm: an attacker who obtains the public key could derive the private key, then sign transactions in the holder's name and move the assets.
How much quantum risk an asset faces therefore depends on whether its public key has already appeared on-chain. A blockchain address is usually the result of hashing a public key, so the public key cannot be derived from the address alone.
| Address or account situation | Is the public key already on-chain? |
|---|---|
| Bitcoin P2PKH address (starting with 1), never spent from | No: the chain holds only a hash of the public key, which is revealed the first time the address spends |
| Bitcoin P2WPKH address (starting with bc1q), never spent from | No: same as above |
| Bitcoin Taproot address (starting with bc1p) | Yes: the public key is written on-chain when funds are received |
| Early Bitcoin outputs paid directly to a public key (P2PK) | Yes |
| Reused Bitcoin address: after spending once, it receives or still holds funds | Yes: the public key was revealed at the first spend |
| Ethereum account that has sent transactions | Yes: the public key can be recovered from the transaction signature |
| Ethereum account that has only received and never sent a transaction | No: only the address is on-chain |
Public keys can be exposed in two ways. The first is long-term exposure, the cases in the table above where the public key already sits on-chain and an attacker has ample time to compute. The second is short-term exposure: most Bitcoin transactions must reveal the public key when spending, so the public key is visible while the transaction waits to be written into a block and confirmed, and only an extremely fast quantum computer could exploit that window. The former is the current focus of discussion; fully protecting against the latter may require introducing post-quantum signatures.
Beyond account signatures, Ethereum has several other elliptic-curve-based components that also need upgrading, such as the BLS signatures validators use in consensus (which let many signatures be combined into one for verification) and the KZG commitments used for data availability (which let nodes confirm that data can be retrieved without downloading all of it).
Three challenges in moving blockchains to post-quantum cryptography: larger signatures, protocol upgrades and already exposed public keys
First, signatures and public keys are much larger. The smallest ML-DSA parameter set (ML-DSA-44) has a 1,312-byte public key and a 2,420-byte signature; a Bitcoin Schnorr signature uses a public key of only 32 bytes and a signature of 64 bytes, making the post-quantum signature about 38 times larger. Block space is limited, so larger transactions mean fewer transactions per block and more data for nodes to store and transmit.
Second, protocol upgrades and community consensus are required. Signature rules are written into the protocol, so changing algorithms requires a soft fork or hard fork, along with coordinated upgrades by nodes, wallets, trading platforms and other service providers. A decentralized network has no single authority that can issue an order, and reaching consensus takes time in itself.
Third, some public keys are already exposed. Under the proposals published so far, assets whose public keys are already on-chain need their holders to actively move them to new post-quantum addresses or account schemes. If holders do not know they need to migrate, or have lost their private keys, those assets will remain with exposed public keys indefinitely. The community has not reached consensus on how to handle assets that are left unmigrated for a long time.
Post-quantum migration progress on Bitcoin and Ethereum: both are at the proposal and planning stage, and nothing has launched yet
- Bitcoin: Changes to the Bitcoin protocol are discussed publicly as BIPs (Bitcoin Improvement Proposals) and go through public review and community discussion before adoption. One quantum-resistant proposal that has already received a number is BIP-360, which proposes adding a new output type called P2MR through a soft fork so that new addresses no longer expose public keys on-chain over the long term; it mainly protects against long-term exposure. As of December 2026, BIP-360 still has Draft status and has not been adopted or deployed. The authors plan to propose the post-quantum signatures needed to protect against short-term exposure separately.
- Ethereum: Changes to the Ethereum protocol are proposed as EIPs (Ethereum Improvement Proposals, such as EIP-7702). The Ethereum community's roadmap plans to use account abstraction, which lets accounts set their own way of validating transactions, to achieve "signature agility": each account could switch to post-quantum signatures on its own, without waiting for the whole network to migrate at once. The related proposal, EIP-8141, is still a draft and is being considered for the Hegotá network upgrade in the second half of 2026. The roadmap targets completing core post-quantum infrastructure around 2029, with migration across the wider ecosystem continuing longer. Ethereum.org states explicitly that these are planned milestones, not guaranteed commitments, and that their names and order may change.
Both chains' plans may be revised or delayed; refer to each project's official announcements for progress.
Two common misconceptions about post-quantum cryptography
First misconception: post-quantum cryptography is not quantum cryptography, nor is it quantum key distribution
The names are similar, but the principles are completely different. Post-quantum cryptography is based on hard math problems and runs as software on existing devices. Quantum cryptography is based on quantum physics; its best-known form is quantum key distribution (QKD), which uses quantum properties to generate and distribute keys between two locations.
| Comparison | Post-quantum cryptography (PQC) | Quantum key distribution (QKD) |
|---|---|---|
| Source of security | Hard-to-solve math problems | Properties of quantum physics |
| Requirements | Existing computers, phones and servers, implemented in software | Dedicated hardware and transmission links such as dedicated optical fiber |
| What it can do | Key agreement and digital signatures | Key distribution only; authentication has to rely on other methods |
Quantum key distribution cannot be implemented in software and does not provide digital signatures. Blockchain signatures must be verified in software by every node around the world, so quantum-resistant upgrades for blockchains mean post-quantum cryptography.
Second misconception: the arrival of post-quantum cryptography does not mean Bitcoin or Ethereum has been broken by quantum computers
Post-quantum cryptography is a defensive effort undertaken in advance. Migration is moving forward now precisely because quantum computers capable of breaking today's cryptography do not yet exist, and the goal is to complete the replacement before they do.
Likewise, adopting post-quantum cryptography does not mean absolute security. The security of these algorithms rests on current analysis, which is why NIST also keeps backup algorithms based on different math problems, so that an algorithm can be replaced promptly if a weakness is found.
FAQ
Can quantum computers break Bitcoin?
Not at present. No quantum computer capable of breaking Bitcoin or Ethereum signatures exists yet, and there is no evidence that these signatures have been broken by quantum computers. If a sufficiently powerful quantum computer appears in the future, addresses and accounts whose public keys are already on-chain will face the highest risk, which is also why the Bitcoin community is discussing proposals such as BIP-360.
Will quantum computers affect Bitcoin mining?
The impact is generally considered limited. Bitcoin mining relies on SHA-256 hashing, and quantum computers gain only the square-root speedup that Grover's algorithm provides against hashes. That algorithm is also hard to parallelize in practice, which shrinks its advantage further, so it is far less direct a threat than Shor's algorithm is to signatures. Discussion of quantum risk focuses on signatures, not mining.
When will quantum computers capable of breaking today's cryptography appear?
No one knows exactly; expert estimates range from a few years to several decades. The timing is uncertain while migration takes many years, which is why everyone involved is preparing now.
What can crypto holders do about quantum risk right now?
Neither Bitcoin nor Ethereum has launched a usable post-quantum address or signature scheme yet, so there is no "migration you can complete today." Three general security practices are relevant to quantum risk:
- Do not reuse Bitcoin addresses. Reusing an address exposes your payment history and also leaves the public key on-chain after the first spend; using a new address for each payment avoids both problems. Taproot (bc1p) addresses are an exception, because their public keys are already revealed when funds are received. A wallet's extended public key (xpub) also contains public key information, so do not share it casually. Ethereum accounts usually keep the same address for a long time and will, in the long run, still rely on protocol upgrades to migrate.
- Get wallet and node software only from official sources and keep it up to date. If future network upgrades introduce post-quantum addresses or signatures, follow the project's official announcements and the wallet's official guidance.
- Watch out for scams that exploit quantum fears. Any request for your private key or seed phrase in the name of "quantum security" is a scam, and OKX will never ask you for your seed phrase; be equally wary of anyone urging you to "immediately move your assets into a quantum-safe wallet or token." A legitimate migration is initiated by holders themselves and never requires handing your private key or seed phrase to anyone.
This article does not constitute investment or operational advice.
Related terms
Learn more about digital signatures, public keys, private keys, cryptographic hashes, blockchain addresses, Bitcoin, Ethereum, validators, hard forks and soft forks, or return to the cryptocurrency glossary.
References
Digital Assets subject to volatility and not insured. Not financial/investment advice. Not all products and services offered in all regions. Exclusions and T&Cs apply.
© 2026 OKX. This article may be reproduced or distributed in its entirety, or excerpts of 100 words or less of this article may be used, provided such use is non-commercial. Any reproduction or distribution of the entire article must also prominently state: “This article is © 2026 OKX and is used with permission.” Permitted excerpts must cite to the name of the article and include attribution, for example “Article Name, [author name if applicable], © 2026 OKX.” Some content may be generated or assisted by artificial intelligence (AI) tools. No derivative works or other uses of this article are permitted.



