Hacker News new | ask | show | jobs
by amluto 7 hours ago
None of the above are quantum algorithms.

Also, I can’t tell if you’re joking, but RSA-896 was broke recently, apparently for funsies, by someone at Anthropic. There’s nothing novel here - they threw lots of hardware at the problem and threw Claude at writing the software (using, AFAIK, existing algorithms).

I would assume that anyone with lots of compute, money and inspiration can break RSA-1024.

1 comments

People seem to fundamentally misunderstand what the number represents. RSA1024 despite only being 14% larger requires 30x the amount of compute. RSA2048 works require 10^9 more compute.

Without algorithmic breaks you’re not going to do anything interesting. The recommendation for a long time by the way is to use RSA4096.

To this day I don’t understand the hubbub about it except as h just another milestone to tell you not to use RSA1024. Even still you’d need >60k of cutting edge GPUs to do this or between 1.5-2.5B just to crack keys that haven’t been supposed to be in use since 2013.

Cognition and Anthropic’s record results for largest key cracked aren’t a serious attack on RSA.

> RSA1024 despite only being 14% larger requires 30x the amount of compute.

Which means that it would be insane to use it without some really good reason (like expensive hardware that can't handle more and can't be replaced, and low value applications or additional safeguards). Something that can provably be broken with only 30x more compute than an effort that has already been done, publicly, for funsies, is highly likely to become practically breakable for criminals in the near future, and store-and-decrypt may be a thing.

> Even still you’d need >60k of cutting edge GPUs to do this or between 1.5-2.5B

I've seen an estimate that "34 extra bits of key length cost about 2.6 times the computation" which would be 37x to go from 896 to 1024 and roughly matches your 30x estimate.

https://saweis.net/posts/rsa-896.html states RSA-896 took 30 GPU-years (10 days x 2048 GPUs part time). Those were H100's, i.e. 4 year old GPUs, which you can rent for around $3/hour. So assuming 1110 GPU years for RSA1024, that puts the upper bound for the expected cost of an attack at $29M per broken key. Much less for someone who has access to idle GPU capacity.

As I understand it you don't need the full size of the cluster so the billions to buy the GPUs outright make no sense. 2000 GPUs would give you 55 GPU years, not 30, in 10 days, and you don't necessarily need the break to happen in 10 days.

Most importantly, attacks only get better. The software could still have plenty of optimization/tuning potential.

I’m replying to someone literally saying they think 1024-bit RSA is safe. 30x cost to break over something already broken is not much of a safety margin.
RSA2048 is 10^9 more bits. You should still be using ECC since it's much more efficient crypto per bit of key material, but I don't think we'll be seeing practical RSA1024 breaks let alone RSA2048 unless a hypothetical QC gets built (which I also am betting against).
It is when whatever you're protecting isn't worth the running cost of 60,000+ GPUs.
People used to accept DES because the cost of breaking it seemed like more than anyone would be willing to spend. That was then and this now: computing has gotten much cheaper and it’s wildly insecure.

You size your cryptography so that a hypothetical advanced civilization dedicating an entire Dyson sphere and a whole solar system worth of unfathomably efficient computers still can’t break it with math this is or seems likely to become available.

The latter is not actually much more expensive than the former, and it’s a lot safer. (We’re talking about the difference between 128-bit and 64-bit keys here, although one can imagine certain classes of threat model for which even 128-bit is a bit uncomfortably low.)

Put differently, there’s a reason that most guidance suggests 2048 or 4096-bit keys for RSA, DSA and DH. (There are unrelated reasons that classic natural-number-based DH is not recommended any more - doing it right is a mess. On the flip side, the large key sizes in these older algorithms might help resist quantum attack for longer than the newer elliptic-curve variants.)

Just so we understand the scale it’s ~5B to build a data center to host those GPUs + 10s of millions per day in opex. For 1024 which was deprecated in 2013. It seems like an insane amount of money for cracking key sizes that shouldn’t even be in use and aren’t protecting anything valuable. At this rate, 2048 is impossible to crack. The reason 2048 was recommended against is that crypto people are worried about advances in cryptanalysis attacks - those haven’t actually materialized. You should still use EC because it’s more efficient per bit but I doubt RSA4096 will ever fall to classical methods and I am skeptical a QC capable of cracking it will be built.