r/programming • • 5d ago

A Deterministic Subexponential-time Algorithm for the Discrete Logarithm Problem

https://eprint.iacr.org/2026/3020
188 Upvotes

30 comments sorted by

82

u/apnorton 5d ago

Oh dear.

80

u/CircumspectCapybara 5d ago

Subexponential, but not polynomial.

34

u/apnorton 5d ago

Still, it's a weakening that ~9mo ago would have been completely unexpected, right? 

Or were there nondeterministic results that were similar?

68

u/qqqrrrs_ 5d ago

The Function Field Sieve is a nondeterministic subexponential algorithm for discrete log from the 90's, and even faster than the algorithm in the above article

11

u/apnorton 5d ago

Ah, ok. Then I'm significantly less concerned. 😛

5

u/HasFiveVowels 4d ago

But then realize that “NP" stands for "Nondeterministic Polynomial". But still… interesting, not world changing.

2

u/Tysonzero 4d ago

The “nondeterminstic” in NP and the “nondeterminstic” in the above random algorithm are two extremely different forms of non-determinism, the latter is often called “probabilistic” instead.

-2

u/HasFiveVowels 4d ago

That’s a fair point but isn’t that just the difference between a weighted game tree and a randomly selected branch of it? The distinction is fair but they’re also not "extremely different".

3

u/Tysonzero 4d ago

It’s a massive massive difference. An NP style nondeterminstic algorithm lets you take every branch at once using an entirely theoretical “nondeterministic turing machine”, actually running said algorithm in the real world will always be very exponential, hence the search for regular deterministic algorithms that are not. A probabilistic algorithm can and does get run all the time on everyone’s computer in the world as it just relies on a little bit of RNG/PRNG.

0

u/HasFiveVowels 4d ago

Yea, I’m aware. That’s exactly where my metaphor arose from. Consider the paths of an NTM as a decision tree. There’s a quantum connection between the two for which a single branch would be one observation and there’s a significant difference to be considered but they’re not all-together completely different things. One is a sample of the other.

→ More replies

2

u/error1954 4d ago

Is that algorithm probabilistic or nondeterministic?

2

u/Tysonzero 4d ago

Probabilistic.

1

u/error1954 4d ago

Thanks! That's what I suspected but didn't see either when reading through it.

3

u/dashingThroughSnow12 5d ago

🤷I never thought ETH was true and my vague understanding was that it was fairly divided.

12

u/defy313 5d ago

Can someone outline the consequence of this paper?

47

u/CircumspectCapybara 5d ago

Nothing yet, as it's subexponential but not polynomial. We've had subexponential algorithms for integer factorization for a while now, RSA isn't broken yet.

But it's a stepping stone toward maybe one day breaking DLP.

79

u/freework 5d ago

In the world of cryptography, if you want to make a discovery, you have to publish code to go along with your discovery, so we can run it and see the results for ourselves. A "paper" that is over a thousand pages that no one on planet earth will ever understand is pretty much the same thing as nothing at all.

18

u/bwainfweeze 4d ago

So, AI generated again?

4

u/obese_fridge 1d ago

Cryptography, in the sense of the term that is relevant here, is a field of mathematics. The statement “you have to publish code to go along with your discovery” is complete nonsense. Also, the linked paper is 25 pages long.

45

u/valarauca14 5d ago

don't freak out, it is worse then existing attacks, just pedantry built on the OpenAI ETH proofs.

do freak out, because it (claims but hasn't published) a separate independent ECDLP proof. which two different proofs of the same thing.

3

u/bwainfweeze 4d ago

"Damn, do we really talk like that?"

"... yup."

1

u/sgijoe 4d ago

*sips vantablack oil coffee*

beep bewp be0p._+`'"[>>]o_._O[<<]

1

u/stoops 4d ago

Does the article give any recommendations for key lengths? I have some software that uses 256 bit elliptic curve primes and key lengths, should it be increased now?

1

u/Formal_Law114 3d ago

My ai said google and my ai wil have it in 23 hrs from the prompt bc it takes a while to compile or something

1

u/Formal_Law114 3d ago

233 2333.47557
242 24335 24335
253 14367 36447
Like this essentially it’s an example of what it explained we need to test next

-11

u/shockema 5d ago

Drip, ... Drip, ... Drip, ..., Drip, .. Drip, . Drip, Drip

6

u/TerrorBite 4d ago

Gee you don't have to get that excited.