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.

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.

61 and 53two secret primesmultiply: instant3,233the public numberfactor: very hardReal RSA numbers haveover 600 digits.A large quantum computer runningShor's algorithm could factor them.
Multiplying two primes is instant. Working back from the answer to the two primes is very hard once the numbers are large enough.

More diagrams: Today's algorithms and a large quantum computer

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.