Key takeaways
- The discrete logarithm problem asks for the secret exponent x given g^x mod p, and its hardness protects Diffie-Hellman key exchange and elliptic curve signatures.
- A Zhejiang University preprint posted November 27, 2026 claims a deterministic algorithm running in p^o(1) time for prime fields and prime-order elliptic curves.
- The claim assumes an unconfirmed OpenAI tensor contraction construction whose constants, by one analysis, give no practical speed-up over brute force.
The discrete logarithm problem asks a simple question that turns out to be very hard: given a number g, a prime p and the result of g raised to some secret power x (mod p), find x. A preprint posted to the Cryptology ePrint Archive on November 27, 2026 by three researchers at Zhejiang University claims a deterministic algorithm that solves it in subexponential time, both in prime fields and on prime-order elliptic curves. The claim is conditional, unreviewed and, on the numbers so far, not a practical threat to encryption.
It still matters, because the hardness of this one problem protects a large share of the internet's key exchanges and digital signatures.
What the discrete logarithm problem is
Start with ordinary logarithms. If 2^x = 1,024, then x = 10, and a calculator finds it instantly. The "discrete" version works in modular arithmetic, where numbers wrap around like the hours on a clock. Pick a prime p, say 23, and a base g, say 5. Computing 5^x mod 23 is easy for any x. Going backwards, from the answer to x, means searching, because the results jump around with no visible pattern.
With a prime thousands of bits long, the forward step takes a computer a fraction of a second. No known method does the reverse step in any useful time. That one-way gap is what cryptographers build on.
Elliptic curves give a second version of the same problem. Instead of multiplying numbers mod p, you add points on a curve defined over a prime field. Here no general attack has been known that beats a square-root search, which is why elliptic curve keys can be several times shorter than prime-field keys for the same security.
Where it protects you
Whitfield Diffie and Martin Hellman built the first public key exchange on this problem in 1976. Two parties each pick a secret exponent, swap g^a and g^b in public, and both arrive at g^ab. An eavesdropper who sees only g^a and g^b would have to solve a discrete logarithm to get the shared key.
The elliptic curve versions of that exchange and of digital signatures (ECDH and ECDSA) now sit inside HTTPS, messaging apps, SSH and cryptocurrency wallets. A fast, general algorithm for the elliptic curve discrete logarithm would break most of them. That is why any claim in this area gets read closely.
Why the discrete logarithm problem is hard, and how hard
The plain search tries every x and takes about p steps. The baby-step giant-step method cuts that to about the square root of p, and it is deterministic: it uses no random choices. The ePrint paper says that before its result, the best deterministic algorithms in the worst case still needed roughly p^(1/2) operations, unless one assumed unproven conjectures such as the Generalized Riemann Hypothesis.
Randomized methods do better in prime fields. Index calculus algorithms, going back to Leonard Adleman in 1979, run in subexponential time, meaning faster than any fixed power of p but slower than a polynomial in the number of bits. That is why prime-field keys have to be much longer than elliptic curve keys.
On the textbook question "is the discrete logarithm problem NP-hard", nobody knows, and the situation mirrors factoring. A large enough quantum computer would solve both, which is why NIST published post-quantum standards in August 2024: ML-KEM for key exchange, and ML-DSA and SLH-DSA for signatures.
What the new preprint claims
Shuchang Liu, Bingsheng Zhang and Kui Ren of Zhejiang University's State Key Laboratory of Blockchain and Data Security describe a deterministic algorithm, with zero random bits and no reliance on the Riemann Hypothesis or smoothness heuristics, for the discrete logarithm problem in the multiplicative group of a prime field and on prime-order elliptic curves over prime fields. Its running time is 2^(O(b/√(log log b))) for a b-bit prime, which is p^(o(1)): eventually smaller than any fixed power of p.
The paper was received on November 24 and approved for the archive on November 27. It is filed under "Foundations" and labeled as a preprint, which means no peer review yet.
Two things in the abstract set the context:
- It depends on OpenAI's claimed result. The bound holds "assuming" what the authors call the Cauchy–Hermite Boolean tensor contraction construction of OpenAI from October 2026. That construction comes from an OpenAI preprint that claims a subexponential deterministic algorithm for counting solutions to k-SAT formulas, which would refute the Exponential Time Hypothesis, a long-standing conjecture in complexity theory.
- It builds on recent randomized work. The abstract says that after the October 2026 claims, Akshima et al. and Kaarelson obtained randomized subexponential algorithms for the elliptic curve problem. The new paper's contribution is removing the randomness.
How much to trust it, and what it changes
This matters less than it looks for anyone's keys today. The OpenAI construction it rests on has not been confirmed. A paper by Fabio Dias and Yvens Lima, posted October 31, extracted the constants hidden in that construction's proof. They found its certified running time stays above brute force for typical inputs unless log2 of the input size exceeds about one billion. Subexponential on paper, in other words, but with constants so large that no real instance gets faster.
The discrete logarithm paper inherits that construction, so the same caution applies. The paper gives no concrete running times for real key sizes such as 256-bit curves. Until someone does, square-root methods like baby-step giant-step remain the practical attack on elliptic curves, and they are far out of reach at today's key sizes.
The real signal is the direction. Two months ago, a subexponential algorithm for the elliptic curve discrete logarithm was not on anyone's list. If the October results survive review and someone later finds a version with small constants, curve sizes would need a rethink well before quantum computers arrive. For now, the step that protects users is the same one standards bodies already recommend: the move to post-quantum key exchange, which no longer rests on discrete logarithms at all.
For background on the sister problem, see our explainer on whether factoring is NP-hard and how RSA works.
Frequently asked questions
What is the discrete logarithm problem in cryptography?
Given a base g, a prime p and the value g^x mod p, find the exponent x. Computing g^x is fast, but recovering x has no known fast method at real key sizes, so key exchange and signatures such as Diffie-Hellman, ECDH and ECDSA rely on it.
Is the discrete logarithm problem NP-hard?
Nobody knows. Like factoring, it is not known to be NP-hard, and a large enough quantum computer would solve it.
Does the new preprint break elliptic curve cryptography?
No. It is an unreviewed, conditional result with no concrete running times for real key sizes, and the OpenAI construction it relies on has not been confirmed.
What is the difference between the discrete logarithm and factoring?
Factoring asks for the prime factors of a number and underpins RSA, while the discrete logarithm asks for a hidden exponent and underpins Diffie-Hellman and elliptic curve schemes. Both are believed hard for ordinary computers and both fall to a large quantum computer.
Sources
- A Deterministic Subexponential-time Algorithm for the Discrete Logarithm Problem (ePrint 2026/3020)IACR Cryptology ePrint Archive
- Limits and Constants of OpenAI's Claimed ETH RefutationarXiv
- NIST Releases First 3 Finalized Post-Quantum Encryption StandardsNIST
- Hacker News discussion of ePrint 2026/3020Hacker News

