Hacker News new | ask | show | jobs
by eq_ind 3 days ago
> Have there been advances in breaking RSA more than DES/AES or is this just normal expected progression

Yes! AES and DES are almost as strong today as they were first introduced, in terms of the complexity of mounting an attack on them. RSA has been made much weaker than when it was invented because of advances in (classical) factoring algorithms. About half the increase in key size from the 1970s is from improved algorithms, and half from improved computers.

2 comments

1970 is not 20 years ago though. The person I was replying to spoke of 2006 as the comparison point. RSA is from 1977 and SSL from 1997 iirc. That people only looked into (and found) better factoring techniques since 1970 has got to be the least surprising timeline possible

edit: as part of replying to another comment, it turns out that the best attack dates to 1993 -- pre-ssl! That is actually surprising but also still doesn't fit the claim about the factoring problem advancing significantly (or at all) in the last decades

We are still using GNFS, yes, but many tricks have been invented since the 90s that make the modern GNFS implementations many times faster than the old ones (better polynomial selection, better algorithms for the sieving step). If you compare [1]'s estimate of the instruction cost of 90s GNFS on RSA-768 to how much it took in reality, in 2009 [2], it improved about 40x. I had the robot extrapolate it out to cover the newer improvements up to 2026, since [1] doesn't have estimates for the RSA numbers that have since been factored, but it's probably around 130x. That's comparable to how much the hardware got cheaper in that time!

[1] https://www-users.cse.umn.edu/~odlyzko/doc/future.of.factori... [2] https://members.loria.fr/EThome/files/rsa768.pdf

> About half the increase in key size from the 1970s is from improved algorithms, and half from improved computers.

Would you have a source for that? I would be interested to share with friends and I know they will ask for one