Explainer ·
What is the discrete logarithm problem? Small characteristic, prime fields and elliptic curves
A discrete logarithm undoes repeated multiplication in modular arithmetic: given g and g^x, find x. Much of public-key cryptography rests on this being hard. In one family of number systems, finite fields of small characteristic, it was broken in practice in 2013 and 2014, and since 2019 a quasi-polynomial method has been proved. On November 25, 2026, a paper produced by Google's Cogentic agent claimed a slightly faster proven method for that family. It does not touch prime fields or elliptic curves, which is where cryptography uses discrete logarithms today.
Compute 2 × 2 × 2 × 2 × 2 × 2, then keep only the remainder after dividing by 11. That is 64, and 64 = 5 × 11 + 9, so the answer is 9. In modular arithmetic this is written 2^6 ≡ 9 (mod 11). Now turn it around: given 2, 9 and 11, find the power x with 2^x ≡ 9 (mod 11). That reverse question is a discrete logarithm problem, and the answer here is x = 6.
Easy one way, hard the other
With small numbers you can just list the powers. Here are the powers of 2, with remainders after dividing by 11:
| x | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| 2^x mod 11 | 2 | 4 | 8 | 5 | 10 | 9 | 7 | 3 | 6 | 1 |
Every remainder from 1 to 10 appears exactly once, so every one of them has a discrete logarithm base 2. With numbers hundreds of digits long the picture changes. Computing g^x is fast, because repeated squaring needs only about as many steps as x has binary digits. Going back from g^x to x has no comparably fast general method for well-chosen number systems, and listing all the powers would take longer than the age of the universe.
Why cryptography cares
In 1976 Whitfield Diffie and Martin Hellman showed how two people can agree on a secret key over a public channel using exactly this one-way property: each picks a secret exponent and publishes g raised to it, and an eavesdropper who could take discrete logarithms could recover the shared key. Variants of this idea are used for key exchange in web traffic and for digital signatures. These systems today mostly use one of two kinds of number systems. The first is arithmetic modulo a large prime p. The second is the group of points on an elliptic curve, where the same question is asked about adding points instead of multiplying numbers; this is elliptic curve cryptography, used for example in Bitcoin's signatures.
Fields, and what characteristic means
Arithmetic modulo a prime p is the simplest example of a finite field, a finite number system where you can add, subtract, multiply and divide by anything except 0. There are larger finite fields too: for every prime p and every positive whole number n there is exactly one finite field with p^n elements, up to relabeling. The prime p is called the field's characteristic. Fields of small characteristic have a small fixed p, such as 2 or 3, and a large n; the field with 2^n elements is the standard example. Prime fields are the case n = 1.
The collapse in small characteristic
For decades, the best methods for discrete logarithms in finite fields were variants of index calculus, with running times of the form L[1/3], somewhere between polynomial and exponential. Then small characteristic fell in quick succession. In 2013 Antoine Joux gave a method with heuristic running time L[1/4 + o(1)]. Later that year Razvan Barbulescu, Pierrick Gaudry, Antoine Joux and Emmanuel Thomé gave a heuristic quasi-polynomial algorithm, published at Eurocrypt 2014: its running time is quasi-polynomial in the size of the input when the characteristic is small. "Heuristic" means the analysis relies on assumptions that look right in experiments but were not proved. In 2014 Robert Granger, Thorsten Kleinjung and Jens Zumbrägel used these ideas to break a pairing-based system over a field of characteristic 2 that had been described as offering 128-bit security, and pairing-based systems over small-characteristic fields were largely abandoned after these attacks.
The proofs came later. Thorsten Kleinjung and Benjamin Wesolowski proved in 2019, in a paper that appeared in the Journal of the American Mathematical Society in 2022, that discrete logarithms in a field with p^n elements can be found in expected time (pn)^(2 log2 n + O(1)), with no heuristics: a quasi-polynomial bound. Guido Lido gave a second proof by a different route (arXiv 2022, journal 2026).
What "quasi-polynomial" means here
A polynomial running time is a fixed power of the input size, such as b^3 for a b-bit input. A quasi-polynomial one is b raised to a power that itself grows like log b, so it beats every exponential but loses to every polynomial. Kleinjung and Wesolowski's bound has the form (pn)^(2 log2 n + O(1)). For a field with 2^1000 elements, p = 2 and n = 1,000, so the main part of the exponent, 2 log2 n, is about 20, and the bound is roughly 2,000 raised to a power near 20, up to the unspecified O(1).
What the November 2026 paper claims
On November 25, 2026, Google Research posted "Discrete Logarithms in Finite Fields of Fixed Characteristic in Sub-Quasi-Polynomial Time". It claims a randomized algorithm that never returns a wrong answer, a Las Vegas algorithm, whose expected running time for every fixed prime p, as n grows, is at most exp((2 + o(1)) (ln n)^2 / ln ln ln n). The paper writes this as (pn)^(o(log n)) and says it improves on the quasi-polynomial bounds of Kleinjung and Wesolowski and of Lido, and on the heuristic regime begun by Barbulescu, Gaudry, Joux and Thomé.
The gain is that the exponent's main term, about (ln n)^2, is divided by ln ln ln n, which grows extremely slowly: the divisor is about 0.66 for n = 1,000, about 0.97 for n = 1,000,000, and about 1.69 for n = 10^100. The bound describes behavior as n grows without limit, so at sizes like these it says nothing about practical speed, and it is still slower than any polynomial. Its interest is in the shape of the bound: it would be the first proven method below quasi-polynomial time for these fields. The paper's first page says it "was entirely obtained by Cogentic", an agent framework using Gemini 4 as the base model, with "no human interaction other than the initial prompt", and the repository says a Lean formalization will be released later.
What it does not touch
The claim covers fields of fixed, small characteristic only. It says nothing about prime fields, where the best known method is the number field sieve, with heuristic running time L_p[1/3, (64/9)^(1/3)]; nothing about elliptic curves, where for well-chosen curves the best known general methods, such as Pollard's rho method, take about the square root of the group's size; and nothing about factoring, the problem behind RSA. Apart from a journal name in its reference list, the paper does not mention cryptography. Since small-characteristic fields were already largely abandoned for cryptography after the 2013 and 2014 attacks, the claim, if it holds, changes what is proved, not what is in use.
Short answers
What is the discrete logarithm problem?
Given a number g, a modulus and the remainder of g^x, find the exponent x. For example, 2^6 leaves remainder 9 after dividing by 11, so the discrete logarithm of 9 to base 2 modulo 11 is 6.
What does small characteristic mean?
A finite field with p^n elements has characteristic p. Small characteristic means p is small and fixed, such as 2 or 3, while n is large. Prime fields, used in most finite-field cryptography, have n = 1.
Is there a quasi-polynomial algorithm for discrete logarithms?
For fields of small characteristic, yes: Barbulescu, Gaudry, Joux and Thomé gave a heuristic one in 2013 (Eurocrypt 2014), and Kleinjung and Wesolowski proved one in 2019. No such algorithm is known for prime fields or elliptic curves.
What did Google claim about discrete logarithms?
A paper produced by Google's Cogentic agent on Gemini 4, posted November 25, 2026, claims a proven algorithm for fixed small characteristic that is slightly faster than quasi-polynomial. It is claimed, not yet independently verified.
Does this break elliptic curve cryptography or RSA?
No. The claim is only about finite fields of small characteristic, which were largely abandoned for cryptography after the 2013 and 2014 attacks. It does not cover prime fields, elliptic curves or factoring.
Did this make sense?
Was this helpful?
Get updates by email
Occasional email, only on the topics you pick. Confirm by email; unsubscribe anytime.