Remix.run Logo
▲ pbsd a day ago

The precomputation---~2^170 operations---would be far more costly than solving the discrete logarithm the normal way.

▲AnimalMuppet a day ago | parent | next [-]

Once, right? But if you do the precomputation, then you can solve many discrete logarithms using the same precomputation data. So if you want to attack everybody, then it might be worth it, because you're going to amortize the precomputation over a large number of attackees.

▲spindump8930 a day ago | parent | next [-]

The other comment says it's around 2^170, which is still infeasible even with compute on the scale of all GPUs on the planet. For reference, Anthropic recently stated that their frontier models use around 1e25 operations, while 2^170 is around 1e51 precomputations.

▲loup-vaillant a day ago | parent | prev | next [-]

Even the Bitcoin network hasn't reached 2^128 in its entire lifetime. Doing that even just once is already out of reach. 2^170? That's 2^128 times 2^52, over 4 trillion times more than 2^128, which is widely considered high security for hash collisions and ECC breakage already (symmetric key search is a little different: https://loup-vaillant.fr/tutorials/128-bits-of-security).

That's flat out impossible.

▲kuratkull 21 hours ago | parent | prev [-]

"Once, right?" - Umm, 2^170 computations is an incredibly absurd number. Doing 2^140 _ideal_ calculations requires the full yearly energy output of the Sun. Our calculations are very far from ideal, and 2^140 is very far from 2^170. The Sun still seems to shine so nobody is trying that right now.

Source: https://eprint.iacr.org/2013/635.pdf

▲stymaar a day ago | parent | prev [-]

> be far more costly

Roughly 4 trillion times more costly, in case anyone is wondering.

▲kbelder a day ago | parent [-]

So, worth it if you're breaking 5 trillion keys...

▲cubano 21 hours ago | parent | next [-]

Since a key can be any prime integer number (base 10) between (base 2) 2^2048 to 2^2049-1,

2^2048 = 3.23 × 10^616 =[32317006071311007300714876688669951960444102669715484032130345427524655138867890893197201411522913463688717960921898019494119559150490921095088152386448283120630877367300996091750197750389652106796057638384067568276792218642619756161838094338476170470581645852036305042887575891541065808607552399123930385521914333389668342420684974786564569494856176035326322058077805659331026192708460314150258592864177116725943603718461857357598351152301645904403697613233287231227125684710820209725157101726931323469678542580656697935045997268352998638215525166389437335543602135433229604645318478604952148193555853611059596230656]

2^2049-1 = 6.46 × 10^616 so all the primes [base 10] that can be found in 3.23x10^616 range, making a paltry number like 5x10^12 almost totally insignificantly small.

Any attempt to precalculate 5 trillion key would be a waste of a huge amount of resourses.

[base 10 values are of course approximate]

▲less_less 9 hours ago | parent [-]

We're talking about ECC here, not RSA.

▲kuratkull 21 hours ago | parent | prev | next [-]

2^170 computations is an incredibly absurd number. Doing 2^140 _ideal_ calculations requires the full yearly energy output of the Sun. Our calculations are very far from ideal, and 2^140 is very far from 2^170. The Sun still seems to shine so nobody is trying that right now.

Source: https://eprint.iacr.org/2013/635.pdf

▲GTP a day ago | parent | prev [-]

Are there 5 trillion keys worth breaking? Maybe we don't even have 5 trillion keys in total.