upvote
I like your explanation, but you merely said that a high number of possibilities means it takes a long high time to break it. This is true independently of whether such high number is obtained as an exponential (2^n) or a polynomial (k*n, with k very big).

I think it's more about growth: if we ever build a supercomputer that can break RSA in a reasonal time, we will bump that 4096 a bit to still be safe. In the case of exponential algorithm like 2^n, if you increase n by 1, you double the breaking time. In the other case you have to double n to get the same effect.

So, it's not about how hard it is to break it, it's about how fast can we make it harder.

reply
> P=NP means there exists a polynomial time (O(n^k)) algorithm to find the private key. ie., it can be found relatively quickly.

Assuming k is manageable. If k=4096, you're still in for a bad time with even the next 50 years of computers (more quantum breakthroughs notwithstanding)

reply
RSA can be broken much faster than brute force because it's a matter of factorizing a number. That's why the key is so long. 4096 bits is quite excessive when only 256 are needed for quantum brute force prevention.
reply
I'm confused,RSA-896 has already been factored without Quantum. 256 is way too small.
reply
Yes, because RSA requires much longer keys for the same security level.
reply
Not claiming to be an expert, but you can game this by saying you can find a 4096-bit RSA key in O(1) time, because O(2^4096) is O(1). :P
reply
O notation only makes sense with the presence of some other variable “n”. It is not meaningful to talk about O complexity without an “n”. So what is n if you have fixed the key size?
reply
Sure it is, there are plenty of constant-time algorithms, and most of them involve some assumptions about the magnitude of secondary quantities involved. Consider integer multiplication. Clearly in the general case it’s O(n*m) for two numbers with n and m digits (unless you wanna get fancy), but we typically consider it to be constant time because we typically assume a fixed bit width.
reply
Right, we assume it doesn’t depend on the size of the input. But that makes it “boring” or degenerate in the context of complexity. Or to put it another way: O(1) is the least interesting complexity class.
reply