Remix.run Logo
▲ GTP a day ago

Indeed. Maybe as of now the forseeable path is "we don't know what LLM-assisted discoveries there could be in the short or medium term future". But then, wouldn't this apply to PQC as well?

▲ 19 hours ago | parent | next [-]
[deleted]
▲colechristensen a day ago | parent | prev [-]

Just throwing out there the orthogonal possibility that with the global provisioning of so much compute for LLMs perhaps in addition to incremental improvements in cryptanalysis NSA is concerned with entities being able to deploy enough raw compute to break keys the old fashioned way.

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

There isn't sufficient compute on the planet to come anywhere even vaguely close to that without pairing it with a break in the underlying cryptography.

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

Maybe for some specific ciphers using smaller key sizes, say RSA-1024, one could actually trow a massive amount of compute at it for a year and find the key. But inbthe scenario presented by OP, the compute would be used for LLMs, so this isn't happening.

▲ a day ago | parent | next [-]
[deleted]
▲what a day ago | parent | prev [-]

Some anthropic guy threw the spare compute from a cluster of 2048 GPUs to factor RSA-896, done in 10 days. So RSA-1024 is probably within reach.

https://saweis.net/posts/rsa-896.html

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

RSA 1024 is within reach, and has been even pre-AI. The main world experts on RSA (who developed the CPU library that was ported to GPU to achieve recent factoring records) have explicitly said this. Quoting from

https://hal.science/hal-03691141

> It is obvious that larger computations are possible, and it is widely accepted that 1024-bit factoring and discrete logarithm are feasible now, with hardware and software that currently exist. A ballpark estimate is that factoring a 1024-bit key would be about 200 times harder than RSA-250, or around 500,000 core-years of computation.

▲dpz a day ago | parent [-]

They recently got 896 which took about 263,000 GPU-hours(30 years).

Based on that 1024 is about 900 GPU million years. Which if they ran on the same level hardware as 896 would go from 10 days (~$1m) to 5.3 months. But that also got deprecated back in 2013 so people should be way off it. 2048 is then about 35 billions times harder. The only fear for 2048 being factorable is quantum computers which is the push to post quantum anyway

▲mswphd a day ago | parent [-]

no. there could be non-quantum improvements that would break RSA-2048. In particular, if improvements to other index calculus algorithms (like binary field discrete log) could be ported over to factoring (which uses index calculus), RSA-30k would be broken.

This has so far not happened in the ~7 years that the binary field discrete log algorithms have existed. But I view it as a decently credibly risk to RSA that does not require quantum computers. This does not make it likely, but it is the piece of "AI cryptanlaysis" I would be the least surprised if it occurred.

▲dpz a day ago | parent [-]

If you wanna look at every option sure. But the reason people reference quantum first is it's on track to get to that level in the next 15 years way before. By which point everyone should be using post quantum. Hell most things should already be working on plans to move away from rsa if they aren't already. I wish people would calm down a bit and stop fear mongering

▲quantumink a day ago | parent [-]

How does this address that a better algorithm than NFS may be discovered in index calculus theory for integers? That would change the entire factoring cost calculus.

We are already in the age of mathematical miracles basically, yet 15 years for hardware seems the more probable route? Why? How? Genuinely curious

▲dpz 14 hours ago | parent [-]

Because none of them have been "miracles". The most impressive one has been the Reinmenn which just confirmed what we already suspected to be true. The way Maths actually advances is when things like Reinmenn get solved we learn new methodology and process that lead to the solve. While it's impressive it was solved it being largely done by ai hasn't offered anything new just confirming a hypothesis. Top mathematicians aren't losing sleep thinking AI is gonna crack global cryptography faster then the on track process we already knew was happening. The recent breakthrough that anthropic that stirred up all this on structure lattices was on something that's existed for 2 years and hasn't received much scrutiny yet. It just sped up finding something that would have been found later. But also before we were using it. Like most cryptography. Ai is cool and a game changing tool in some regards but it's not just fundamentally rewriting maths

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

Yeah, RSA-1024 is dead. There is a ton old data stored somewhere with people lurking over it mouths watering.

That's not to say how much of it is still live out in the wild too.

▲tgsovlerkhgsel a day ago | parent | prev | next [-]

I think if you told anyone in 2007 run

echo 'lIaC/LQECdFOTo+kmDhr9kuVW0HbVF7Zgf0Ql3Uj1nA=' | base64 -d | sha256sum

they'd be unsettled even though that's not really close to breaking sha256 (look at the end of the hash).

▲cowlevel 15 hours ago | parent [-]

Saved you a paste: it ends in 20 zeros in hex, so 80 0 bits. I'll assume it's a bitcoin block header.

They'd be very surprised that we spent all of Italy's electricity bruteforcing sha256 but given that we did, and a few more generations of hardware improvements, not terribly surprised.

The 176 remaining bits are the margin for error - still plenty left.

▲tgsovlerkhgsel 12 hours ago | parent [-]

> I'll assume it's a bitcoin block header.

Correct (well, the hash of one).

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

The point being they might be seeing advances in crypto weaknesses that bring the compute requirements maybe not today into feasible cracking but close enough to be afraid of further developments.

And just be reminded that it has been one month since a certificate authority was shut down because among others, one of its private keys was "4". We don't necessarily have to be dealing with theoretically perfectly implemented crypto algorithms.

▲mort96 a day ago | parent | prev | next [-]

But what does that have to do with post-quantum crypto? Improvements in cryptanalysis combined with raw compute is just as likely to break classical algorithms as to break post-quantum algorithms, aren't they?

▲cyphar a day ago | parent [-]

Not necessarily, the structures underlying PQC are nowhere near as well studied as classical cryptography. We have lots of experience and thus guidance for how to build classical elliptic curve schemes safely and lots of time spent on trying to attack them, meanwhile almost 50% of the PQC competition candidates were broken within a few years (many of them were broken classically, with trivial attack scripts).

The galactic algorithm for ML-KEM was mostly a nothing-burger but some cryptographers have been warning that we do not know enough about the security of structured lattices for years.

▲mort96 a day ago | parent [-]

Right that supports my point, there's been no indication that quantum computers have suddenly progressed so why the sudden rush to transition to post-quantum cryptography

▲quantumink 21 hours ago | parent [-]

This is exactly what I would like to find out as well.

What if there was a breakthrough in index calculus theory and a major improvement over the NFS algorithm has been found... PQC schemes don't depend on factoring *and* are quantum resistant, so two birds with one stone as they say

Though why not recommend a hybrid approach then

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

Not sure about this, wouldn't in that case the compute be reserved for LLM inference/training?