Encryption Observer

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.

Think of it like this

Mixing two paint colours takes a second. Working out exactly which two colours went into a tin of mixed paint is close to impossible.

Today's algorithms and a large quantum computerBroken by Shor's algorithmSafe, or only weakened by Grover's algorithmA large quantum computer breaks today's public-key algorithms outright but only dents symmetric ciphers and hashes.
  1. RSA Factoring large numbers becomes easy with Shor's algorithm. Used for: Certificates, signatures, key loading Must be replaced.
  2. Elliptic curves ECDH, ECDSA and Ed25519 fall to a variant of Shor's algorithm. Used for: Key exchange, passkeys, crypto wallets Must be replaced.
  3. Diffie-Hellman The classic key exchange rests on a problem Shor's algorithm solves. Used for: VPNs, older TLS Replaced by ML-KEM.
  4. 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.
  5. AES-256 Even with Grover's algorithm, far beyond reach. Used for: Long-lived secrets Recommended where data must stay secret for decades.
  6. 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

Related terms

Cite this page Encryption Observer, “RSA”, encryption.observer/terms/rsa/, checked December 2026.