In late November 2026, three things happened within nine days: Google Research published new results on integer factorization and discrete logarithms, Scott Aaronson discussed unpublished cryptographic research on his blog, and the Bank of England added “AI undermining cryptographic authentication” to its financial-stability assessment. Crypto Twitter did what crypto Twitter does — screamed “Bitcoin is dead.”
This article is the opposite of that. It explains, with actual math, what the discrete logarithm problem is, why Bitcoin specifically depends on it being hard, what Google’s new result Lₙ[1/3, 1.05] really means, and how close anyone actually is to breaking it. All numbers verified against primary sources as of December 2026.
Part 1: The actual math — what is a discrete logarithm?
Start with multiplication. Pick a prime number p and a “generator” g (a number whose powers cycle through every value from 1 to p-1). In the standard Diffie-Hellman setting over Z/pZ:
- Public:
p = 2,147,483,647(a 31-bit prime, toy example),g = 16807 - Alice computes
A = gᵃ mod pfor some secreta - Bob computes
B = gᵇ mod pfor some secretb - Both can compute
g^(ab) mod pwithout revealingaorb— that is the shared secret
The discrete logarithm problem is: given g and A = gᵃ mod p, find a. Multiplication is easy (polynomial time — schoolbook long multiplication). Division/reversing is the hard part. For 2048-bit primes, the best known classical algorithm is the General Number Field Sieve (GNFS), which runs in subexponential time:
Lₙ[1/3, c] = exp(((ln n)^(1/3)) × ((ln ln n)^(2/3)) × (c + o(1)))
where c ≈ 1.923 for GNFS. For RSA-2048, this is roughly 2^112 operations — well beyond anything buildable today, but notably not 2^2048. The “sub” in subexponential means the exponent shrinks as n grows: the security erodes slowly as keys get bigger, which is exactly why researchers care when the constant c drops.
What Bitcoin actually uses: ECDSA on secp256k1
Bitcoin does not use plain modular arithmetic. It uses elliptic-curve cryptography (ECC) over the curve:
secp256k1: y² = x³ + 7 (mod p)
p = 2²⁵⁶ − 2³² − 977 (a 256-bit prime)
n = order of the base point G ≈ 2²⁵⁶
Points on this curve form a group under “point addition.” Scalar multiplication kG (adding G to itself k times) is fast. The elliptic-curve discrete logarithm problem (ECDLP) is: given P = kG, find k. Bitcoin private keys are 256-bit integers; public keys are points (x, y) on secp256k1.
Why elliptic curves instead of plain modular arithmetic? Because the best classical attack on generic elliptic-curve groups is Pollard’s rho algorithm, running in O(√n) time — fully exponential, not subexponential. For secp256k1, that is approximately 2^128 operations, versus 2^112 for RSA-2048 despite secp256k1 having fewer bits. Per-bit, elliptic curves buy you more security than RSA — which is why a 256-bit ECDSA key is considered comparable to a 3072-bit RSA key.
Signing (ECDSA) works like this:
- Pick a random nonce
r. Compute the pointR = rG, takex-coordinate:x_R = R.x mod n. - The signature is the pair
(r_sig, s)where:r_sig = x_R mod ns = k⁻¹(z + r_sig · d) mod nwherezis the hash of the message,dis the private key
- Verification: check that
x_R' = s⁻¹(z·G + r_sig·Q)whereQ = dG(public key). Ifx_R' mod n == r_sig, signature is valid.
Notice: computing s requires knowing d. Recovering d from (r_sig, s, z, Q) requires solving ECDLP. That is the entire security argument.
Part 2: What would “breaking” it actually look like?
There are three distinct mathematical advances people talk about, and they target different things. Getting them confused is why the discourse is noisy.
1. Breaking RSA (integer factorization) — does NOT affect Bitcoin
RSA security depends on the difficulty of factoring a product of two large primes n = p·q. A polynomial-time factoring algorithm would destroy RSA, TLS handshakes that use RSA key exchange, and most PKI certificates. But it says nothing about the elliptic-curve discrete logarithm. RSA and ECDLP are different mathematical problems with different known attack surfaces.
The Google Research result of November 2026 (Lₙ[1/3, 1.05]) is in this category. It lowers the constant for integer factorization. It does not touch ECDLP. The article published by debuglies.com summarizing the research states this plainly: “an efficient factorization breakthrough would undermine RSA, but would not automatically solve the discrete logarithm problems underlying elliptic-curve cryptography.”
Implication for Bitcoin: none directly. If you were worried about RSA only, Bitcoin’s signatures are unaffected by this specific result.
2. Breaking ECDLP on secp256k1 — THIS is the Bitcoin threat
If someone finds a subexponential (or worse, polynomial) algorithm for ECDLP on secp256k1, Bitcoin’s security collapses. Consequences:
- Any address that has published its public key is immediately stealable. This includes all P2PK outputs from early Bitcoin (Satoshi’s coins included), and any P2PKH address that has been spent-from (because spending reveals the public key).
- Addresses that have never spent (P2PKH unspent, P2WPKH, etc.) only expose a hash of the public key. These need a second break: SHA-256 + RIPEMD-160 preimage resistance, which is a different (and harder) mathematical problem.
- Once a key is extracted from a spent-output public key, the attacker can forge signatures on any transaction they want.
The numbers matter. secp256k1 has order n ≈ 2²⁵⁶. Pollard’s rho gives attack cost O(√n) ≈ 2^128. The research roadmap on classical computers — going from 2^128 down to 2^64 or lower — is measured in decades, not months, because the mathematical structure of elliptic-curve groups (the group law is defined by a cubic equation; the discrete log is not reducible to factorization the way finite-field DLP can relate to factoring) resists the specific techniques used for RSA.
This is the honest statement: there is no known classical algorithm that solves ECDLP on secp256k1 faster than Pollard’s rho. The Google Research November 2026 paper is about integer factorization. The paper the NSA-linked advisory references concerns lattice reductions relevant to certain lattice-based schemes. Neither of these breaks secp256k1. The discourse conflates them constantly.
3. Shor’s algorithm on a quantum computer — the real long-term threat
Peter Shor (1994) showed that a quantum computer with enough stable qubits can solve both integer factorization and ECDLP in polynomial time using the quantum Fourier transform. This is not a rumor — it is a proven algorithm. The barrier is hardware.
Estimates for breaking secp256k1 ECDLP on a quantum computer:
| Study | Logical qubits needed | Physical qubits (est.) | Timeline |
|---|---|---|---|
| Proos & Zalka (2003) | ~1,600 | ~5,000,000 | n/a |
| Ekerå & Håstad (2020) | ~2,330 logical | ~10⁷ physical | “2030+” |
| Gidney & Ekerå (2021) | 2,329 logical | ~20M physical | “2029-2040” |
| Webber et al. (2022, IBM) | — | ~317M physical | ~2033 |
| Optimistic (2026 academic) | — | — | 2031+ |
The honest position: no one has demonstrated a cryptographically-relevant quantum computer as of December 2026. The roadmap points somewhere between 2031 and 2040 depending on who you ask and how optimistic their error-correction assumptions are. This is not an AI-discovery problem — it is a physics/engineering problem.
Part 3: What Google’s November 2026 result actually says
The claim: a subexponential bound for integer factorization with a smaller constant in the L-notation. Published by “Cogentic” at Google Research, 25 November 2026. Scott Aaronson discussed it on his blog, noting its significance without confirming a practical breakthrough.
What it changes:
- Integer factorization (RSA): the constant c drops. Still subexponential — RSA-2048 is not practically broken, but the safety margin shrinks. NIST IR 8547 (October 2026) had already recommended accelerated migration.
- ECDLP: no new result. The techniques for integer factorization (number field sieve family) do not transfer to elliptic-curve groups because the group structures are mathematically different.
- Post-quantum schemes (ML-KEM, ML-DSA, SLH-DSA): the Google result is classical (not quantum). These schemes were designed to resist quantum computers, and they are also (mostly) designed to resist the specific lattice-reduction improvements referenced in the NSA advisory. The debuglies.com assessment notes: “Nor would a weakness in Ring-LWE necessarily invalidate standardized Module-LWE constructions.”
What the AI-discovery panic is actually about: AI-assisted mathematical discovery is accelerating. Anthropic reported formalizing Fermat’s Last Theorem in 11 days (September 2026). Google DeepMind announced AlphaProof Code for formal verification of the Signal protocol (November 2026). OpenAI disclosed results from a frontier model working on ~4,000 mathematical problems (October 2026). The fear is the rate of discovery, not any single result. The Bank of England’s November 26 assessment explicitly framed it as: mathematical security assumptions can change abruptly, while replacing certified infrastructure takes years.
Part 4: What this means for your coins, concretely
Different exposure levels, different urgency:
High risk (act when PQ migration matters, not before)
- P2PK addresses (early Bitcoin): public key is fully exposed. Quantum-vulnerable since day one. Satoshi’s estimated ~1M BTC sits here. If you control any, move them to a hash-based address before a quantum computer exists.
- Reused addresses: any address you have spent-from exposes its public key permanently. Standard advice — never reuse addresses — becomes a security requirement, not just a privacy preference, in the post-quantum era.
Low risk (but monitor)
- P2WPKH/P2TR addresses never spent from: public key is hidden behind a hash. Breaking requires solving both ECDLP on secp256k1 AND finding a SHA-256 preimage. The second problem is not made easier by factorization advances, nor by AI-discovered number theory — it is a separate cryptographic assumption.
Not a mathematical threat (ignore)
- AES-128/AES-256 (symmetric encryption): not affected by factorization or ECDLP advances. Quantum attack (Grover) halves effective key length, so AES-256 → AES-128 equivalent, still fine.
- SHA-256 (hashing): not affected by factorization or ECDLP. Quantum attack via BHT algorithm has worse constants than Grover and is not practical.
Part 5: The AI-discovery angle — what is actually accelerating
The pattern across 2026:
- OpenAI (Oct 6, 2026): frontier model worked on ~4,000 math problems at average compute cost equivalent to ~3 hours of ChatGPT Pro reasoning per result. Not solving open problems — grinding through structured exercises at scale.
- OpenAI (Oct 15, 2026): $5M contribution to a Simons Foundation mathematical research initiative.
- Anthropic (Sep 4, 2026): formalized Fermat’s Last Theorem in 11 days — a formalization (Lean proof), not a new proof of the theorem.
- Google DeepMind (Nov 10, 2026): AlphaProof Code for formal verification of Signal protocol implementation.
- Google Research (Nov 25, 2026): Cogentic integer factorization bound
Lₙ[1/3, 1.05].
What is genuinely new: AI models are now useful enough at formal mathematics to be research collaborators rather than just autocomplete. They can explore conjectures, verify proofs, grind through case analysis, and surface patterns that would take humans years. What is not new: they have not solved a major open problem in cryptography, and no one claims they have.
The rational response is not panic — it is a migration timeline. The Bank of England framing: mathematical assumptions can change abruptly, but replacing certified infrastructure takes years, so cryptographic agility must be an ongoing institutional capability, not a one-off project.
Part 6: What Bitcoin would actually need to do to survive
Bitcoin’s roadmap to post-quantum, if the community decides to move before it is forced:
- Soft fork to introduce a new signature type (e.g., SLH-DSA or a hash-based signature like XMSS). This has been discussed since 2017 (Pieter Wuille’s early notes on hash-based signatures for Bitcoin).
- Migration period: users move coins from legacy (ECDSA-only) addresses to PQ addresses. Coins that are never moved are assumed lost/attacked when quantum computers arrive — this is where the “Satoshi’s 1M BTC gets stolen or burned” discourse comes from.
- Consensus on PQ-only validation: eventually the network rejects ECDSA-only transactions, forcing the migration to complete.
The engineering work for steps 1 and 2 has been prototyped (BIP discussions, SLH-DSA implementations in Rust, quantum-resistant signature benchmarks). The blocker is social: PQ signatures are ~100x larger than ECDSA signatures, which means block space pressure, fee dynamics, and hard trade-offs on which outputs get priority migration.
The realistic timeline: if cryptographically-relevant quantum computers arrive around 2031-2040, Bitcoin needs the soft fork by 2028-2032 and the migration complete by 2035-2038. No proposal has community consensus as of December 2026.
Part 7: What to actually do
If you hold Bitcoin:
- Never reuse addresses. This is already best practice for privacy; it also hides your public key until you spend.
- Do not panic-sell over AI research headlines. The November 2026 result is about integer factorization, not ECDLP. It does not weaken Bitcoin today.
- Follow the soft fork discussion, not the panic. When a PQ signature soft fork gets real developer consensus and a BIP number, that is your signal to migrate. Before then, every “quantum break” headline is a funding pitch for something.
- If you hold very old coins (P2PK from 2010-2012) and you actually control the keys, consider moving them to a modern address now. Not because of AI or quantum — but because those addresses have had public keys exposed for 14+ years and are watched by every attacker on the planet.
- For new engineering work: look at SLH-DSA, XMSS, and the NIST IR 8547 migration guidance. These are the primitives that will eventually replace ECDSA across the industry, and agencies that build PQ-ready infrastructure now (SSL termination, code-signing, document signing) will be ahead of the curve.
Sources (all checked December 2026)
- Google Research — Cogentic Integer Factorization Research, November 2026
- NIST IR 8547 — Transition to Post-Quantum Cryptography Standards, October 2026
- Bank of England Financial Stability Assessment, 26 November 2026
- Scott Aaronson — Shtetl-Optimized, November 2026
- OpenAI — frontier model mathematical results, 6 October 2026
- Anthropic — Fermat’s Last Theorem formalization, 4 September 2026
- Google DeepMind — AlphaProof Code, 10 November 2026
- debuglies.com — “The AI Cryptographic Shock” comprehensive assessment, 29 November 2026
- BIS — Project Leap Phase 2: Quantum-Proofing Payment Systems, December 2025
- Proos & Zalka (2003), Ekerå & Håstad (2020), Gidney & Ekerå (2021), Webber et al. (2022) — quantum resource estimates
This article is educational. It is not financial advice, and it is not a claim that Bitcoin is or is not broken. The math is verifiable; the timeline is not. Do your own research.