New Deterministic Algorithm for Discrete Logarithms Is Far Slower Than Existing Methods
A Deterministic Subexponential-Time Algorithm for the Discrete Logarithm Problem [pdf]
A new deterministic subexponential-time algorithm for the discrete logarithm problem has sparked discussion, but commenters quickly point out it offers no practical threat to cryptography. For elliptic curves, the best known method runs in roughly the square root of the group order, while this algorithm runs in linear time—asymptotically worse. The result is a complexity-theory advance, not a cryptographic break, though some worry it signals AI's growing ability to produce novel math.
This result does not matter for cybersecurity. The best known algorithm for solving elliptic curve DLP is BSGS (Baby Step, Giant Step) which solves it in, roughly, O(sqrt(p)) where p is the group order for the curve used. This result defines an O(p) method, which means it is asymptotically worse than the best already-existing method.
- pcstl
Since it's what everyone is going to be worrying about: This result does not matter practically for cybersecurity.
The best practical algorithm for solving elliptic curve DLP is BSGS (Baby Step, Giant Step) which grows as 2^{b/2+o(b)} in the key length.
This result claims 2^O(b/(log log b)) which is technically subexponential, but since that `log log b` term grows so slowly it pretty much would only beat BSGS for absolutely gigantic keys.
- layer8
A randomized subexponential-time algorithm for the discrete logarithm problem has been known for close to 50 years: https://pages.cs.wisc.edu/~cs812-1/adleman.pdf
The present deterministic algorithm is highly unlikely to have practical consequences for cryptographic protocols in use.
- stabbles
Should OpenSSH implement a config option that requires two different types of keys? If we don't know whether RSA or Ed25519 is weakened, then better to have both?
The situation on e.g. GitHub is sort of the opposite: if you use both RSA and Ed25519, then it's as strong as the weakest of the two.
- cperciva
Reminder: Algorithms for integer factorization essentially always have an analogue for prime-field DLP. Usually it takes a bit longer than this for the details to be ironed out, but the surprise would have been if this algorithm didn't exist.
- another_twist
Just the excuse I need for brushing up number theory. Any other paper recommendations are welcome.