Has AI Cracked Bitcoin's Elliptic Curve? The Math, Agentic Speedups, and an Interactive Calculator
Published 4 December 2026 · BitBank Research · 10 minute read
The recent warnings from intelligence agencies and major infrastructure providers are genuinely significant. Still, there is an enormous mathematical difference between AI accelerating existing cryptanalysis algorithms and AI discovering fundamentally new mathematics that makes RSA and elliptic-curve cryptography computationally tractable.
The first is already happening. The second is the potentially catastrophic scenario, and as of
4 December 2026, there is no publicly verified demonstration of a practical break of either
RSA-2048 or Bitcoin's secp256k1 elliptic curve. Even so, the latest announcements have
materially increased our assessment of the long-term risk.
1. What the NSA, Cloudflare and Elon Musk actually said
| Source | Date | What they revealed |
|---|---|---|
| NSA, CISA and ONCD | 2 Dec 2026 | Frontier AI companies privately disclosed mathematical discoveries affecting existing cryptographic systems. |
| Cloudflare CEO Matthew Prince | 3 Dec 2026 | Advised organisations to assume systems relying on RSA or elliptic-curve cryptography are at risk. |
| Cloudflare engineering team | 3 Dec 2026 | Accelerated its post-quantum migration deadline from 2029 to 2027. |
| Elon Musk | 29 Nov 2026 | Acknowledged hearing rumours of an RSA-2048 breakthrough. |
| Elon Musk | 3 Dec 2026 | Described Bitcoin as “safe for now.” |
The most grounded reading is that there is probably substantive unpublished research behind these warnings, without anyone yet being able to recover an arbitrary Bitcoin private key or factor a general RSA-2048 modulus. Cloudflare's move is the clearest signal because the company is committing real engineering resources to pull forward a multi-year migration rather than merely reacting to rumours.
2. How much progress have AI coding agents actually made?
2026 has already produced several concrete cryptanalysis milestones driven by autonomous coding and research agents. Notice the pattern across them: dramatic reductions in engineering time and implementation cost, paired with early hints of novel mathematical discovery.
AI coding agents built a GPU-optimised implementation of the General Number Field Sieve (GNFS), achieving roughly 10× lower cost than the previous public state of the art. The supervising researcher estimated the agents replaced months of work by specialist engineers.
13.5 GPU-years · ~US$400,000 computeClaude ported existing factoring software to GPUs and orchestrated a distributed computation across spare data-centre capacity.
Up to 2,048 GPUs · 10 days · 30 GPU-yearsAI agents reproduced a known signature-forgery attack at roughly one-third of the previous computational cost, while separate work estimated a 30-fold reduction in the marginal cost of batch factoring. These were restricted attacks and theoretical improvements, not a general break of RSA-1024 or RSA-2048.
~3× cheaper forgery · 30× batch-factoring gainAI-generated research claimed an unconditional subexponential factoring algorithm. Mathematically interesting, but its enormous complexity constant makes it unsuitable for practically breaking RSA, and the proof still requires broader verification.
Theoretical · impractical constantAn unreleased Claude model discovered novel quantum algorithms targeting mathematical problems behind certain post-quantum cryptographic standards, complete with machine-checked Lean formalisation. The algorithms remain extraordinarily impractical at real-world key sizes.
Lean-verified · impractical at deployed sizesWe are moving rapidly from a world where only a handful of specialist teams could execute large-scale computational cryptography to one where AI agents dramatically lower the implementation barrier. That matters — but it is still a very different thing from collapsing exponential difficulty.
3. Mathematically, how close are we to cracking RSA?
RSA relies on the difficulty of reversing N = pq, where p and q are large primes. The best established practical general-purpose classical algorithm is the General Number Field Sieve (GNFS), with heuristic asymptotic complexity:
Using the leading term of the GNFS complexity formula and calibrating against the 30 GPU-years spent factoring RSA-896 gives the following rough asymptotic extrapolations (actual engineering costs also depend on memory, hardware, sieving parameters and parallelisation overhead):
| RSA key size | Relative computation vs RSA-896 | Estimated GPU-years |
|---|---|---|
| 896 bits | 1× | 30 |
| 1,024 bits | 30× | 900 |
| 2,048 bits | 35 billion× | ~1 trillion |
| 3,072 bits | 132 quadrillion× | ~4 quintillion |
The takeaway is straightforward: RSA-1024 is increasingly within reach of well-funded computing organisations. RSA-2048 remains extraordinarily far away under the same mathematics. Even another 1,000-fold improvement in agentic implementation efficiency would leave RSA-2048 requiring on the order of a billion GPU-years.
4. Bitcoin's elliptic curve is an even harder classical problem
Bitcoin does not use RSA. Its ECDSA and Schnorr signatures operate over the secp256k1 elliptic
curve:
Unlike RSA, there is no known generally applicable subexponential classical algorithm for properly chosen
prime-field elliptic curves such as secp256k1. The best established generic classical attack,
Pollard's rho, has expected complexity:
A particularly relevant benchmark published on 14 October 2026 measured how fast Pollard's rho runs on
NVIDIA Blackwell GPUs. The authors achieved a 17.2× improvement against a smaller
binary elliptic curve, yet their measurements on NIST P-256 — a prime-field curve with comparable
generic security to Bitcoin's secp256k1 — still put the expected effort at roughly
6 × 1021 GPU-years. That is far more informative than headline GPU FLOPS,
because modular elliptic-curve arithmetic does not map directly onto dense tensor-core workloads.
INTERACTIVE SIMULATOR
Classical Elliptic-Curve & RSA Cracking Calculator
Test how far real-world GPU clusters and agentic coding speedups actually get against Bitcoin's
secp256k1 — then switch the algorithm complexity to see why new math matters
infinitely more than more GPUs. Baseline assumes 109 useful elliptic-curve group operations
per second per GPU (or 30 GPU-years calibrated to Anthropic's RSA-896 run for GNFS modes).
781,000 times the approximate age of the universe (13.8 billion years).
Idealised parallel scaling; ignores communication overhead, distinguished-point memory bandwidth and constant factors. Not a prediction of undiscovered algorithms.
Even if you could dedicate one million GPUs to this problem and make them another million times more efficient, solving a single Bitcoin private key under Pollard's rho would still take roughly 10.8 billion years. More GPUs and better CUDA kernels alone are not a credible mechanism for breaking Bitcoin's elliptic curve.
5. What if AI discovers a fundamentally better algorithm?
This is where the genuine risk sits. Different classes of progress sit on completely different rungs of the complexity ladder:
| Type of discovery | Mathematical effect |
|---|---|
| Better GPU kernels | Reduces constant factors (e.g. 10×–20×). |
| Improved search algorithms | Potentially shaves several bits of security. |
| New subexponential ECDLP algorithm | Could fundamentally weaken Bitcoin's security margin. |
| Practical polynomial-time algorithm | Potentially destroys existing RSA or ECC security outright. |
| Efficient classical simulation of Shor's algorithm | Could threaten both RSA and ECC simultaneously. |
The historical public records for unrestricted elliptic-curve discrete logarithms are approximately 114 bits over prime fields and 117 bits for a prime-order subgroup over a binary field. Moving from 114 bits to 256 bits under generic square-root scaling requires roughly 2(256−114)/2 = 271 ≈ 2.36 sextillion times more work.
Now compare that against hypothetical classical algorithms with smaller exponents on a 256-bit curve:
Current generic algorithm (Pollard's rho). Cosmically intractable.
Major theoretical breakthrough (~7 trillion× faster asymptotically), still huge.
Potentially practical at large cluster scale — hours on 1M GPUs.
Potentially widely accessible even on modest hardware.
An algorithm achieving the cube root rather than the square root of the group size is roughly 7 trillion times faster asymptotically. This is why extrapolating cryptographic risk purely from GPU roadmaps misses the real tail event: mathematical discoveries create discontinuous jumps. At the same time, proven lower bounds exist for generic-group algorithms, so an AI would have to exploit special algebraic structure in the curve or its representation rather than merely optimising a generic walk.
6. Can AI actually discover mathematics at that level?
Increasingly, there is evidence that frontier models can discover genuinely novel mathematics rather than merely reproducing known techniques. In July 2026, Anthropic's Claude Mythos Preview operated semi-autonomously to uncover a new cryptanalytic attack against HAWK, a candidate post-quantum signature scheme — significant enough that HAWK was withdrawn from the NIST additional-signature process. In August 2026, OpenAI also reported ten advances across mathematics and theoretical computer science spanning lattice cryptography, algebraic complexity and quantum complexity.
| AI capability | Current public evidence |
|---|---|
| Writing optimised CUDA code | Strong |
| Managing distributed GPU computations | Strong |
| Reproducing advanced mathematics | Strong |
| Combining mathematical techniques across fields | Strong and improving |
| Discovering novel cryptographic weaknesses | Demonstrated (e.g. HAWK) |
| Practical classical break of RSA-2048 | Not publicly demonstrated |
Practical classical break of secp256k1 | Not publicly demonstrated |
Combining reasoning models, thousands of parallel research agents, formal proof verifiers like Lean, automated experimentation and large GPU clusters is substantially more consequential than coding agents alone. The bottleneck is shifting from implementing mathematical ideas to discovering the right mathematical ideas.
7. Subjective probability estimates
The ranges below are subjective judgement bands based on public evidence and current mathematical security margins — not statistically calibrated confidence intervals. Undisclosed research referenced by the NSA could materially shift them. Here, a “practical break” means recovering a key for a well-generated, full-size instance using resources realistically accessible to a major organisation, using classical computers only (excluding quantum hardware).
Based on public evidence, the chance that both systems have already been practically broken in secret sits in the low single digits. RSA carries higher risk because its structure has already yielded subexponential algorithms; prime-field elliptic curves have resisted general-purpose breakthroughs for decades. Still, neither problem has ever been mathematically proven intractable.
8. Quantum computing is arguably the bigger threat to Bitcoin
Quantum computing is fundamentally different because the winning algorithm — Shor's
algorithm — has been known since 1994. Breaking elliptic-curve cryptography on a
sufficiently capable quantum computer requires engineering progress, not an undiscovered mathematical miracle.
In March 2026, Google Quantum AI published updated resource estimates specifically targeting Bitcoin's
secp256k1 curve:
That remains well beyond demonstrated fault-tolerant quantum hardware, since each logical qubit still requires substantial physical qubits and error correction. Yet the distinction is crucial:
- Classical attack: requires a major undiscovered mathematical breakthrough.
- Quantum attack: requires sustained engineering progress to execute known mathematics.
- AI-assisted quantum attack: AI can accelerate both quantum circuit optimisation and physical hardware design.
9. Would cracking elliptic-curve cryptography invalidate Bitcoin?
Not automatically — but a sudden, fast break before Bitcoin migrates its signature scheme would be severe. Here is what breaks and what stays intact:
| Bitcoin component | If RSA is broken | If secp256k1 is broken |
|---|---|---|
| Wallet signatures | Not directly affected | Compromised |
| Exposed public keys | Not directly affected | Vulnerable to key recovery |
| SHA-256 mining | Not directly affected | Not directly affected |
| Existing blockchain history | Remains intact | Not automatically invalidated |
| 21 million supply limit | Unchanged | Unchanged |
The acute danger is unauthorised spending of coins whose public keys are already visible on-chain. According to the authors of BIP-361, more than 34% of all bitcoin had exposed public keys on-chain as of March 2026 — including early P2PK outputs, reused addresses and Taproot outputs. Unspent addresses that hide their public key behind a hash (such as fresh P2PKH or P2WPKH addresses) enjoy an extra layer of protection until they broadcast a spend transaction.
Bitcoin can migrate to post-quantum signature schemes such as hash-based signatures (Lamport, SLH-DSA / SPHINCS+), structured lattice schemes (ML-DSA), or hybrid constructions. Concrete proposals are already under discussion:
- BIP-360: introduces a new output type that removes the exposed Taproot key-spending path.
- BIP-361: outlines a broader post-quantum migration and the eventual sunset of legacy signatures.
Draft proposals are not a deployed upgrade. The hardest part is not implementing a replacement signature library — it is achieving social consensus, upgrading wallets and exchanges, migrating active UTXOs, and deciding how the network treats dormant or permanently lost coins.
10. What to watch for next
Rather than trading on rumours or executive soundbites, track measurable mathematical milestones:
| Milestone | Significance |
|---|---|
| Public RSA-1024 factorisation | Meaningful, but expected progress |
| Public RSA-1536 factorisation at reasonable cost | Serious warning for RSA |
| Public unrestricted 160-bit elliptic-curve solution at reasonable cost | Serious warning for ECC |
A subexponential classical algorithm for secp256k1 | Fundamental threat to Bitcoin |
| Large-scale fault-tolerant quantum computation | Major threat to both RSA and ECC |
| Bitcoin activating post-quantum signatures | Major reduction in long-term risk |
Educational analysis only, not financial or security advice. Complexity figures and calculator outputs are idealised asymptotic illustrations, not formal cryptanalytic guarantees. Related reading: Public-Key Cryptography: How Crypto Wallets Work and Self-Custody: Seed Phrases, Hardware Wallets, and MPC.