Background · §6
What Is RSA-2048? A 617-Digit Number, Explained
RSA is the most widely deployed public-key algorithm in history. The number after its name is not a password length; it is the size of the problem an attacker would have to solve.
Last checked
- RSA-2048 protects a 617-digit number — the product of two primes nobody publishes.
- Multiplying those primes takes microseconds. Splitting the product back is, as far as anyone knows, not feasible at this size.
- Your browser uses it during the TLS handshake, your build system uses it to verify signatures, and your servers use it to let you in over SSH.
- NIST deprecates it after 2030 and disallows it after 2035 — not because it is broken, but because a quantum computer would break it.
The idea in one paragraph
Classical encryption uses one key for both locking and unlocking, which means you have to deliver the key somehow. RSA, published in 1977 by Rivest, Shamir and Adleman, splits the key in two: a public half that anyone may use to lock a message, and a private half that only the owner holds to unlock it. The asymmetry works because locking is a different mathematical operation from unlocking, and one of them is easy while the other is not.
The operation is multiplication. Take two large primes, p and q, and multiply them to get n = p × q. Publishing n is safe because factoring n back into p and q is, for large enough inputs, beyond any known classical method. Anyone with n can encrypt. Only someone with p and q can decrypt. Everything else in RSA — the modular arithmetic, the padding, the key formats — exists to make that idea survive contact with real systems.
Why 2048
A 2048-bit modulus is 256 bytes, or about 617 decimal digits. The size is chosen by a balance that has been renegotiated roughly every decade:
- 512 bits was common in the early 1990s. It was factored in 1999 as a demonstration and should be treated as broken.
- 1024 bits replaced it through the 2000s. It has been factored in research settings and is no longer accepted for new work.
- 2048 bits has been the working minimum for new systems since around 2013, and remains the most common size on the web today.
- 3072 and 4096 bits are used where key generation cost matters less than margin.
The crucial point is that doubling the key length does not double the difficulty of factoring. Factoring difficulty grows sub-exponentially in the size of the number, which is why the field has been able to stay at 2048 for this long and also why the next step up is expensive rather than routine.
Where it actually sits in your day
Three places, and they fail differently.
TLS key exchange. When your browser opens a secure connection, it uses RSA or an elliptic-curve method to agree on a symmetric key. This is the part a quantum computer would break, and it is the part being replaced first. Hybrid key exchange — classical plus post-quantum in parallel — is already in production at large providers.
Digital signatures. Software updates, certificate chains and code signing use RSA to prove that a file came from who it claims. Signatures are the slow half of any migration, because an old signature has to remain verifiable for as long as the artefact it protects is trusted.
SSH and internal access. Servers authenticate to each other with RSA or Ed25519 keys. This is the surface that produced the worst advice of the November 2026 scare: people were told to rotate SSH keys because of a paper that never mentioned SSH.
Why it retires in 2030, not because it broke
Nothing found in November 2026 weakens RSA. The retirement date has a different cause: a sufficiently large quantum computer running Shor's algorithm would factor a 2048-bit modulus in polynomial time, which makes the entire class of public-key systems based on factoring and discrete logarithms obsolete at once.
NIST's schedule, published in IR 8547 on 27 October 2026, deprecates quantum-vulnerable algorithms after 2030 and disallows them after 2035, with federal high-value assets required to finish key-establishment migration by 31 December 2030. The reason the dates are so far out is not that the threat is distant. It is that replacing public-key infrastructure takes a decade, and the data you send today can be recorded today and decrypted later.
Three things people get wrong
“2048 is the password length.” It is not a password, and there is no password. It is the size of a number whose factorisation is assumed to be hard.
“More bits means more secure, always.” Only within a family whose hard problem is intact. If the underlying problem falls, 4096 bits of a broken scheme is still a broken scheme.
“RSA was cracked in 2026.” It was not, and the papers at the centre of that story are not about RSA at all. See the current verdict for the dated answer.
Try it on a real key
The arithmetic above is easier to trust once you have run it. The Lock Lab builds a key from two primes in front of you, breaks a toy modulus in milliseconds, then starts an attack on a real 617-digit RSA-2048 modulus so you can watch the progress bar fail to move.
Open the Lock Lab → — four acts, about 90 seconds, no signup.
Questions people ask
Is RSA-2048 broken?
No. It has not been broken, and the November 2026 papers that prompted the claim are about lattice problems, not RSA. NIST schedules RSA for deprecation after 2030 for migration reasons, which is a different thing.
How many digits is a 2048-bit key?
617 decimal digits, 256 bytes, 2048 bits. All four describe the same modulus.
Should I move to 4096-bit keys?
Only within a plan that eventually leaves RSA. A larger modulus raises the classical cost with diminishing returns and does nothing against Shor's algorithm, which is the actual reason for the migration.
Why does my browser still use RSA if it is being retired?
Because the web runs on what both ends support, and most endpoints support it. Hybrid post-quantum key exchange is rolling out in parallel, and browsers already negotiate it with major providers.