by amluto · 1d ago · 0 comments
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.
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.
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.
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.)