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.
Whitfield Diffie and Martin Hellman publish the idea of public-key cryptography and a method for exchanging keys securely, but not a complete encryption and signature system.
Rivest, Shamir and Adleman find a system that realises that idea; Scientific American presents it to the general public in August.
The scientific paper describing RSA in detail is published.
MIT obtains a US patent on the algorithm.
The British government reveals that Clifford Cocks, a GCHQ cryptographer, had described an equivalent system as early as 1973, kept secret.
The US patent expires and RSA becomes freely usable.
RSA-250, an 829-bit number, is factored: a record that confirms the robustness of 2048-bit keys.
The role of chance
The best-known story has Rivest finding the decisive formulation one night in April 1977, after a Passover dinner. Anecdote aside, the invention was the fruit of months of attempts: Rivest and Shamir proposed schemes, Adleman, a mathematician, tried to break them.
RSA: the maths
The formulas of RSA — modulus, Euler’s function, exponents, encryption and decryption — and the factoring problem on which security rests.
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: 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 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: pitfalls to avoid
The most common mistakes developers and administrators make with RSA, from short keys to home-made implementations.
RSA: frequently asked questions
Short answers to the most common doubts about RSA, keys, security and quantum computers.