RSA today
Where RSA is still used — certificates, digital signatures, email and code — and why it is giving way to elliptic curves and post-quantum algorithms.
RSA is still everywhere, although its role is changing.
- Web certificates
- Many website certificates use RSA keys for signatures; in TLS 1.3 RSA is no longer used for key exchange, only for signatures.
- Qualified digital signatures
- Many signing devices, including the smart cards and tokens used for legally recognised digital signatures, use RSA keys.
- Code signing
- Updates and programs are signed to guarantee their origin.
- Message signing and encryption standards support RSA.
- Server access
- RSA keys are still common for remote server access, although elliptic curves are now preferred.
Towards after RSA
Elliptic curves offer the same security with much shorter keys and faster computation, and are replacing RSA in many protocols. In the longer term, standards bodies have planned to phase out RSA and the other classical public-key algorithms in favour of post-quantum cryptography, by the mid-2030s.
RSA: pitfalls to avoid
The most common mistakes developers and administrators make with RSA, from short keys to home-made implementations.
The pages of this topic
Back to the overviewRSA: how it works
Key generation, encryption, decryption and signing with RSA, explained step by step without complicated formulas.
RSA: history
From Diffie and Hellman’s 1976 revolution to the invention of RSA, from the patent to the discovery of the secret British precedent.
RSA: the maths
The formulas of RSA — modulus, Euler’s function, exponents, encryption and decryption — and the factoring problem on which security rests.
RSA: worked example
A complete RSA example with small numbers, from choosing the primes to encrypting and decrypting a number.
RSA: weaknesses and attacks
Known attacks on RSA: keys that are too short, faulty random numbers, vulnerable padding, timing attacks and the threat of quantum computers.
RSA: frequently asked questions
Short answers to the most common doubts about RSA, keys, security and quantum computers.