For a bitcoin holder, one concrete question matters: can someone compute the private key from your public key so quickly and cheaply that getting at your funds pays off? The original publications we evaluated show no such recovery for a randomly generated key on Bitcoin's curve secp256k1. They do show progress on two fronts: in classical mathematical methods and in the planning of future quantum computations [5] [8] [11] [19]. This assessment reflects the state of December 5, 2026.

An important note up front: this post puts research results into context, but it expressly gives no recommendation to buy or invest and is not individual security advice. Several of the works discussed here are preprints that have not yet been independently peer reviewed.
My assessment: An acute, economically usable key recovery by classical AI is publicly unproven. The long-term risk to today's Bitcoin signatures, however, is concrete enough to justify preparing a migration. The reason is the difference in lead time: an attacker only has to make their method economical for individual valuable keys. Bitcoin would have to agree on new rules, convert software and custody systems, and give owners time to move their funds. A future proof of P ≠ NP would not change this timing problem [11] [13] [16].
How Bitcoin Protects Control over Funds
Bitcoin transactions are public. Whoever receives bitcoin receives a transaction output with an amount and a spending condition. As long as this output is unused, it is called a UTXO. The condition often requires a digital signature. Network nodes can check whether it matches the key and the transaction. This way a spend can be authorized without revealing the private key [1] [2]. Bitcoin also uses hash functions, to commit to data and for mining. These tasks also differ in what a successful attack would lead to:
| Mechanism | Role in Bitcoin | Consequence of a successful attack |
|---|---|---|
| ECDSA and Schnorr on secp256k1 | ECDSA authorizes many classic and SegWit outputs, Taproot uses Schnorr signatures under BIP 340 | Whoever determines the matching private key can satisfy the signature condition for other people's funds. Further conditions of a script may still apply [1] [2] [11] |
| HASH160 | In P2PKH and P2WPKH, the output commits to a hash of the public key | As long as only the hash is known, a direct attack on the curve lacks the public point. The key is revealed when spending [3] [11] [15] |
| Double SHA-256 and proof of work | Miners search for a block header whose hash meets the target, the reference to the predecessor binds the history | A more efficient search could shift competition in mining. It does not yield the ability to sign someone else's transaction [4] [12] |
How these spending conditions are built technically is shown in our post From Scripts to Taproot.
Signatures and the Elliptic Curve
Bitcoin uses ECDSA for many existing output types and Schnorr signatures under BIP 340 for Taproot. Both rest on the same curve. The private key is a secret number d. The wallet computes from it the public point Q = dG, where G is a fixed base point. The forward computation is efficient. Determining d again from G and Q is called the elliptic curve discrete logarithm problem, ECDLP for short. A practical method for it would hit both signature schemes. Simply switching from ECDSA to Schnorr is therefore no countermeasure [1] [2] [11].
Hash Functions and Mining
For common output types, the output first commits to the HASH160 of the public key. For this, Bitcoin computes SHA-256 first and then RIPEMD-160 on the result. Mining, by contrast, uses double SHA-256. Miners search for a block header whose hash meets the prescribed target. The hash reference to the predecessor links the blocks. Whoever recovers a private key can thereby satisfy a signature condition. To rewrite a confirmed block history, they would additionally have to overcome the consensus rules and the competition for computational work [3] [4] [11] [12].
How Far Classical AI Research Has Come
For a group of this size, the classical generic benchmark for key recovery is around 2¹²⁸ group operations, roughly 3.4 × 10³⁸. A curve operation is not the same as a SHA-256 attempt. The hash rate of Bitcoin miners therefore cannot be translated into the time needed to recover a key. The benchmark describes known methods. It is not a proven lower bound for every conceivable future algorithm, because a new method can exploit special properties of the curve [1] [4] [5]. Exactly that has happened on paper in recent weeks.
A Chain of Preprints since October 2026
It starts with a result that at first has nothing to do with Bitcoin: on October 25, OpenAI published a preprint stating that the Exponential Time Hypothesis is false (abbreviated ETH, not to be confused with Ethereum) [21]. This conjecture held that certain logical satisfiability problems fundamentally require exponential effort. Within a few weeks, several teams transferred the computing technique developed there to the problem behind Bitcoin keys.
| Date 2026 | Publication | Statement on practical reach |
|---|---|---|
| October 25 | OpenAI: refutation of the Exponential Time Hypothesis [21] | According to a calculation by Stefan Szeider (TU Wien), the algorithm remains an exhaustive search on all inputs that fit into the memory of any computer [22] |
| October 28, version 1.0 on December 2 | Team from Ruhr University Bochum and the Max Planck Institute for Security and Privacy: subexponential algorithm for the ECDLP [19] | The authors see no advantage over the known Pollard rho method for curves such as P-256 and Ed25519 [19] |
| October 31 | Kaarel Kaarelson: fast algorithm for the ECDLP [20] | The author writes that the results have no consequence for any curve in use, and he names secp256k1 explicitly [20] |
| November 23 | Liu, Zhang and Ren: deterministic variant [5] | We did not find an estimate in the paper of the size at which the advantage sets in |
The calculation by the Bochum group shows how far "asymptotically faster" can be from "faster in practice". With the parameters from the OpenAI proof, their analysis finds that the computing building block used only yields savings for networks with at least 2 to the power of 131,072 connections. For a variant tailored to curves of prime order, the authors estimate the crossover with Pollard rho at group sizes far beyond any used in cryptography. At the same time they stress the theoretical significance: it would be shown that elliptic curves over prime fields do not fundamentally behave like structureless groups [19]. As far as we can see, the paper does not name secp256k1, but it is in the same size class as P-256.
Kaarelson reaches a similarly clear finding for his method. With the constants provable in the version of October 31, it only overtakes Pollard rho for primes with more than roughly 2 to the power of 500 billion bits, and even the more favorable variants calculated there lie astronomically far above anything in use. Bitcoin uses 256 bits. He also points out that central building blocks have not yet been reviewed [20].
The underlying work on ETH still has to be examined as well. OpenAI reports a machine verification in the Lean proof assistant. Szeider, who expressly does not judge correctness, notes that an independent group around Russell Impagliazzo, Ramamohan Paturi and Ryan Williams intends to examine the proof [22]. We had no result of that examination.
The Deterministic Algorithm by Liu, Zhang and Ren
In their preprint dated November 23, Liu, Zhang and Ren of Zhejiang University describe a deterministic algorithm for discrete logarithms on elliptic curves of prime order over prime fields as well as in the multiplicative group of prime fields. This includes the class of curves relevant to Bitcoin. The archive of the International Association for Cryptologic Research (IACR) received the paper on November 24, and it was last revised on December 3. The authors expressly assume a mathematical construction previously presented by OpenAI. Under this assumption they derive a subexponential running time. What is new compared with the two earlier works is above all that the method does without randomness [5] [19] [20].
"Subexponential" describes how effort grows with ever larger inputs. Bitcoin, however, uses a fixed size of 256 bits. High constants, memory requirements and costly computing steps can make an asymptotically better algorithm useless at this size. The paper does not demonstrate an economical recovery of an ordinary Bitcoin key. A changed risk assessment would require independent review, concrete resource figures and costs per successful recovery at 256 bits, as well as reproducible results on randomly chosen keys [5]. The new works are nonetheless significant for the long-term assessment: an estimate that relies solely on the known square root methods does not capture such approaches [5] [19].
What the Other Announcements Mean for Bitcoin
Other widely discussed announcements concern different mathematical problems:
| Public original source | What was announced | Significance for Bitcoin |
|---|---|---|
| Cogentic in Google's research repository, November 25 (according to the repository not an official Google product) | Works on integer factorization and on discrete logarithms in finite fields of fixed characteristic [6] | Factorization is the classic problem behind RSA. The multiplicative group of a finite field studied here also differs from the group of curve points used by Bitcoin. These works alone imply no key attack on secp256k1 [1] [6] |
| Cryptography Incident Review Group on findings by Anthropic, November 30 | Assessment of a quantum algorithm for certain structured lattice problems. Against the standardized schemes ML-KEM and ML-DSA it requires considerably more computation than the best previous attacks, which are themselves already impractical. Improvements are to be expected [7] | The finding mainly affects the choice of future replacement schemes. It shows that the label "post-quantum" does not end the ongoing scrutiny of a scheme [7] |
| US Office of the National Cyber Director (ONCD), NSA and CISA, December 2 | American AI companies have disclosed discoveries that impact the security of some cryptography currently in use. The agencies see no immediate and widespread threat and urge a faster transition to post-quantum methods. Eight technology companies, including OpenAI, Anthropic, Google and Microsoft, support this [8] [9] | A serious signal for migration planning. Bitcoin is not mentioned, and the statements contain no figures from which attack costs for secp256k1 could be derived [8] [9] |
We have not examined the contents of the Cogentic works in detail.
Google DeepMind provides a vivid example of the role of AI. On November 23, the team reported that groups of AI agents had optimized quantum circuits and proved the results with the Lean proof assistant. Among them was a 2.57-fold speedup for a specific implementation of Grover's search algorithm. The work shows a plausible way in which AI can shrink the security margin: it can lower the resource requirements of a known algorithm even if it discovers no new mathematical principle. The reported factor, however, applies only to the circuit studied. Transferring it to Bitcoin mining or to a complete attack on a private key would have to be demonstrated separately [10] [11] [12].
Quantum Computers and the Cost of an Attack
For a sufficiently large, fault-tolerant quantum computer, Shor's algorithm provides a known method that computes discrete logarithms in polynomial time. The open question is therefore more concrete than with classical methods: the decisive bottleneck is hardware. It has to execute a long sequence of operations quickly and with a sufficiently small overall probability of error [11] [12].
A paper published in PRX Quantum in August 2026 (in the "Perspective" category) by researchers from Google Quantum AI, the Ethereum Foundation, UC Berkeley and Stanford University calculates specifically for secp256k1. The authors describe two variants with at most 1,200 logical qubits and 90 million Toffoli gates, or 1,450 logical qubits and 70 million Toffoli gates. Under their assumptions for a superconducting architecture with a physical error rate of 10⁻³ and planar connectivity, they model execution in minutes with fewer than half a million physical qubits. For reasons of responsible disclosure they do not publish the circuits themselves, but support their figures with a so-called zero-knowledge proof. A logical qubit is an error-corrected computing unit. A manufacturer's figure for physical qubits alone therefore allows no direct comparison [11].
The numbers are a resource estimate. No 256-bit key actually recovered on such hardware is presented, and no calendar year for the first economical attack follows from them. The authors estimate the running time per key for such a machine, after precomputation, at about nine minutes. That is close to the average block time of ten minutes. Under idealized assumptions favorable to the attacker, they put the success probability of an attack on a still unconfirmed payment at just under 41 percent [11].
Running time therefore has special significance for Bitcoin: a machine that needs days per key could already endanger permanently visible keys. Only a considerably faster machine would also become relevant for payments whose public key appears for the first time shortly before confirmation [11] [15].
Which Bitcoin Holdings Would Be Affected First
| Type of Bitcoin output | When the public key is visible | Significance with a capable quantum computer |
|---|---|---|
| P2PK, as in some early outputs | The key is already in the output | An attacker could compute for as long as the funds remain unspent [11] [16] |
| Taproot (P2TR) | The public output key is visible from the start, even if the owner actually intends to spend via a script | Potentially years are available for an attack on the key path. BIP 360 addresses exactly this permanently visible key path [2] [15] |
| P2PKH or P2WPKH with a key not yet published | At first only the key hash is visible, the public key appears in the transaction when spending | A time window then opens until confirmation. If the same key has already been revealed elsewhere, for example through address reuse, this protection is lost for further funds [11] [15] |
According to the PRX Quantum paper, a little over 1.7 million bitcoin, nearly 9 percent of all bitcoin, are secured by P2PK outputs. From a quantum perspective, the authors regard the fact that Taproot exposes the key as a regression compared with output types that show only a hash [11].
The originals put the share of permanently visible keys in a similar order of magnitude: the PRX Quantum paper cites around 6.7 million bitcoin in vulnerable addresses (around 6.9 million elsewhere in the paper), and BIP 361 speaks of more than 34 percent of all bitcoin with an already revealed key, as of March 1, 2026 [11] [16]. We describe how you can set up your own custody in principle in Storing Bitcoin Securely, and you will find an overview of devices in our custody comparison.
What a Quantum Computer Could Change in Mining
Grover's algorithm offers a quadratic advantage in the number of attempts needed for idealized search problems. A quantum miner, however, would have to execute complete hash computations and compete with specialized ASIC miners under the network's timing conditions. The PRX Quantum authors do not consider such attacks on mining practically relevant in the next several decades, because the overhead of error correction largely consumes the advantage. A breakthrough against signatures would therefore neither automatically rewrite the block history nor allow additional bitcoin to be issued. It would first create a different capability that is already serious for owners: authorizing spends of other people's funds with formally valid signatures [4] [11] [12].
P and NP: What a Proof Could Achieve
P comprises decision problems that a classical algorithm can solve in polynomial time. For decision problems in NP, a proposed yes solution can be verified in polynomial time. The Clay Mathematics Institute still lists P versus NP as an unsolved Millennium Problem [13]. The refutation of the Exponential Time Hypothesis, should it hold, does not decide this question either, because subexponential is not the same as polynomial [13] [21]. Nor does a manuscript published by Anthropic according to which the algebraic complexity classes VP and VNP differ. Its author line names the AI model Claude, and the text itself says that it does not settle the classical P versus NP question [14].
If an AI Proves P ≠ NP
It would then be proven that there are problems in NP that cannot be solved classically in polynomial time. For Bitcoin, three statements would still be missing:
- About the concrete problem: The proof would additionally have to show that recovery on the very curves relevant to Bitcoin is hard. The existence of hard problems does not imply this for a particular problem [5] [13].
- About typical keys and concrete costs: Cryptography needs hardness for randomly generated keys at the size actually used. A statement about the hardest case as input length grows quantifies neither the success rate for ordinary 256-bit keys nor the cost per recovered key [5] [13].
- About the model of computation: P ≠ NP would be a statement about classical computation. Such a proof would neither refute Shor's quantum algorithm nor prevent its application to secp256k1 [11] [13].
If an AI Proves P = NP
A general polynomial decision procedure would have far-reaching consequences for cryptography. For efficiently verifiable solutions, the search can also be broken down into decision questions. For a key, one such question would be whether there is a matching private key with a given beginning for a given public point. The practical danger would still depend on running time: an algorithm with enormous constants or a very high polynomial degree can be practically useless at 256 bits. Conversely, a cheap special-purpose algorithm for secp256k1 could endanger Bitcoin even if the general P versus NP question remains open [1] [5] [13].
Could Recovery Remain Uneconomical Forever?
A proven lower bound under clear conditions would be valuable. It would have to state for which key distribution, success probability and models of computation it holds. An economic statement additionally requires assumptions about hardware costs and the value of the funds open to attack. A result about classical computers could therefore support a strong conditional security guarantee. "Uneconomical forever" additionally contains assumptions about future hardware prices. A permanent guarantee covering all future computers and market conditions could not be derived from P ≠ NP, and a bound proven only for classical computers would leave the known quantum attack open. A proof of P ≠ NP would therefore be no reason to halt Bitcoin's post-quantum planning [5] [11] [13] [16].
How the Bitcoin Network Could Respond
Avoiding Permanently Visible Keys
BIP 360 proposes Pay-to-Merkle-Root (P2MR). Here an output commits to a hash tree of possible spending scripts. The key path visible in Taproot is removed. This shortens the time in which an attacker can target a curve key. If the script revealed later still requires a classical signature, an attack window remains during the spend. The proposal itself says that it only protects against attacks with a long lead time. BIP 360 is a draft specification and has not been activated [15].
Adding New Signatures to the Consensus Rules
The US standards institute NIST has standardized ML-DSA, a lattice-based signature scheme, and SLH-DSA, a hash-based one. Their different mathematical foundations matter if new research weakens a particular family of schemes. The choice would, however, have direct consequences for every transaction: signature size, space in the block, verification cost for every network node and secure implementation in hardware wallets would have to be weighed together. Standardization alone does not change Bitcoin's rules [7] [16] [17] [18].
Migrating Existing Funds in Time
Every new signature scheme needs a path for existing funds, because an existing UTXO initially remains bound to its previous conditions. BIP 361 therefore outlines a phased transition. About three years after its activation, new payments to vulnerable output types would first be restricted, and a further two years later the previous signatures would be subjected to stricter rules. The draft presupposes that a proposal for post-quantum signatures in Bitcoin exists beforehand, which is still outstanding. For some hierarchical wallets, the authors discuss additional proofs, such as knowledge from hierarchical key derivation that does not follow from a single recovered key. BIP 361 is an informational draft. The deadlines discussed in it create no obligation to move funds today [16].
Some early holdings lack any additional proof of ownership, and according to the authors no method for such a rescue is currently known for P2PK outputs. Once two people know the same private key, the network can no longer identify the original owner from their valid signatures alone. Leaving the old rules in place indefinitely then permits theft. A lock, in turn, can hit owners who did not migrate in time. This is the strongest argument for holding the debate before a practical breakthrough: as long as the original key is still exclusive, its holder can act unambiguously through an ordinary transfer. Afterwards, exactly this distinction may become impossible [11] [16].
Conclusion
The public results up to early December 2026 prove no economical AI attack on ordinary Bitcoin keys. Nor do they justify a permanent all-clear. The latest preprints are mathematically remarkable, but where their authors calculate the practical reach, it lies far beyond Bitcoin's 256 bits [19] [20]. On classical hardware, what matters is whether the new approaches produce an independently verified cost advantage at exactly this size. With quantum computers, what counts is when hardware can reliably carry out the required error-corrected computation per key.
For Bitcoin itself, the most important time span is a third one: how long does the network need to migrate existing funds safely? This question can be worked on today, regardless of when AI or quantum hardware achieves the next breakthrough [5] [11] [15] [16].
Sources
State of the assessment: December 5, 2026. Several sources are preprints without completed peer review.
[1] BIP 340: Schnorr Signatures for secp256k1
[2] BIP 341: Taproot, SegWit version 1 spending rules
[3] Bitcoin Core, src/hash.h: implementation of Hash160 and double SHA-256
[4] Bitcoin Developer Reference: Block Chain, structure of the block header and target
[6] Cogentic Research Papers in the google-research repository, November 25, 2026
[12] Aggarwal et al.: Quantum Attacks on Bitcoin, and How to Protect Against Them, Ledger 3 (2018)
[13] Clay Mathematics Institute: P vs NP, with the official problem description by Stephen Cook
[14] Claude (Anthropic): VP ≠ VNP over every field, manuscript
[15] BIP 360: Pay-to-Merkle-Root (P2MR), draft specification
[16] BIP 361: Post Quantum Migration and Legacy Signature Sunset, informational draft
[17] NIST FIPS 204: Module-Lattice-Based Digital Signature Standard, 2024
[18] NIST FIPS 205: Stateless Hash-Based Digital Signature Standard, 2024
[20] Kaarelson: A Fast Algorithm for Elliptic-Curve Discrete Logarithms, preprint, October 2026
[21] OpenAI: The Exponential Time Hypothesis is False, preprint, October 25, 2026