Glossary The famous algorithms
RSA
RSA relies on a simple fact: multiplying two huge prime numbers is easy, but splitting the answer back into those two primes is extremely hard for ordinary computers. It is used for encryption and signatures.
Mixing two paint colours takes a second. Working out exactly which two colours went into a tin of mixed paint is close to impossible.
- RSA Factoring large numbers becomes easy with Shor's algorithm. Used for: Certificates, signatures, key loading Must be replaced.
- Elliptic curves ECDH, ECDSA and Ed25519 fall to a variant of Shor's algorithm. Used for: Key exchange, passkeys, crypto wallets Must be replaced.
- Diffie-Hellman The classic key exchange rests on a problem Shor's algorithm solves. Used for: VPNs, older TLS Replaced by ML-KEM.
- AES-128 Grover's algorithm in theory reduces it to about 64-bit strength. Used for: Disk, Wi-Fi, web traffic The UK NCSC still treats it as safe.
- AES-256 Even with Grover's algorithm, far beyond reach. Used for: Long-lived secrets Recommended where data must stay secret for decades.
- SHA-256 and SHA-3 Hash functions are only modestly affected. Used for: Signatures, passwords, blockchains Stay in use, including inside post-quantum signatures.
Why it matters
RSA has protected the internet since the 1990s and is still everywhere. It is also one of the main things a large quantum computer would break.
Where you meet it
Website certificates, email encryption (PGP, S/MIME), many bank and corporate systems.
Go deeper history and technical detail
Published in 1977 by Ron Rivest, Adi Shamir and Leonard Adleman. Typical keys today are 2,048 or 3,072 bits. The best ordinary-computer attack (the general number field sieve) still needs an impractical amount of work for these sizes. Shor's algorithm would factor them quickly on a large enough quantum computer. In 2025 Craig Gidney of Google estimated that RSA-2048 could be broken in under a week with fewer than a million noisy qubits, down from the 20 million qubits (and about 8 hours) estimated by Gidney and Martin Ekerå in 2019. A 2026 preprint claims under 100,000 qubits using different error-correction codes, with a longer run time. It has not yet been peer reviewed.
Read or watch next
- Encryption and HUGE numbersNumberphile, video
- Tracking the Cost of Quantum FactoringGoogle Security Blog (2025), blog post
- A Method for Obtaining Digital Signatures and Public-Key CryptosystemsRon Rivest, Adi Shamir and Leonard Adleman (1978), paper
- Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum ComputerPeter Shor (1994, revised 1996), paper
- How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubitsCraig Gidney and Martin Ekerå (2019), paper
- How to factor 2048 bit RSA integers with less than a million noisy qubitsCraig Gidney, Google (2025), paper
Related terms
Cite this page Encryption Observer, “RSA”, encryption.observer/terms/rsa/, checked December 2026.