That's misleading. Not every number is a prime, so the number of bits you need to store the number grows faster than its security rate. Have there been advances in breaking RSA more than DES/AES or is this just normal expected progression, given that computers get significantly faster at the same price point with basically each CPU generation?
> 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.
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!
Yes, you might expect there to be 2^4096/2^256 = 2^3840 as many 4096-bit primes as there are 256-bit primes, but there are only approximately (256/4096)2^3840 = 2^3836 as many. Still, that's a lot of extra bits.
I don't think it is due to the looming threat of quantum computers and the seemingly constant stream of stronger algorithms against RSA chipping away at it 1 bit at a time.
Do tell. https://en.wikipedia.org/wiki/Integer_factorization mentions no better attack is known since GNFS in 1993, save for Shor's algorithm from 1994 that requires a quantum computer. The post we're replying to claimed RSA is losing a ton of security over the last 20 years (that's 2006, I needed to remind myself)
If AES had started with 32-bit keys and we kept upgrading it to 40 bits, 48 bits, 64 bits, etc. as computers got faster, you could have made the same claim about how many updates we needed, implying that the writing is on the wall for this poor algorithm. It's a ridiculous statement from my pov
faster physical hardware computations are part of the problem. remember that RSA has to be secure for the next xxx years, that's why the ranges are a bit hard to think about. If anything is treatening that 2048 might be defeated in the next xx years that means only 4096 is safe.
That's misleading. Not every number is a prime, so the number of bits you need to store the number grows faster than its security rate. Have there been advances in breaking RSA more than DES/AES or is this just normal expected progression, given that computers get significantly faster at the same price point with basically each CPU generation?