SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

RSA

RSA is the public-key encryption and signature method of Ron Rivest, Adi Shamir and Leonard Adleman, published as “A Method for Obtaining Digital Signatures and Public-Key Cryptosystems” in Communications of the ACM in February 1978 1. Its stated novelty is that publicly revealing an encryption key does not reveal the corresponding decryption key, so keys need no couriers, and that a message signed with the private key can be checked by anyone with the public key, while the signer cannot later deny it 1.

A message is represented as a number M, raised to a public exponent e and reduced modulo a public number n that is the product of two large secret primes p and q; decryption uses a secret exponent d with e · d ≡ 1 mod (p − 1)(q − 1) 1. The authors wrote that the security of the system rests in part on the difficulty of factoring n 1. Whether breaking RSA is as hard as factoring is unproved: Boneh and Venkatesan call proving or disproving it a longstanding open problem, and give evidence that breaking low-exponent RSA may be easier than factoring, while stressing that their result points to no weakness in RSA itself 2.

Used exactly as the 1978 paper describes, the operation is deterministic, so the same message always gives the same ciphertext. Dan Boneh's survey of twenty years of attacks notes that in practice messages are padded using some randomness before encryption, and that adding randomness to the encryption process is needed for proper security; RSA can be made semantically secure that way 3. The survey found no devastating attack on the RSA function: the known attacks mostly illustrate the dangers of improper use, and securely implementing RSA is a nontrivial task 3.

Several of the best-known attacks target RSA as deployed rather than the function. Paul Kocher showed in 1996 that by carefully measuring the time taken by private-key operations an attacker may be able to factor RSA keys 4. Daniel Bleichenbacher showed in 1998 that an RSA private-key operation can be performed against protocols using PKCS #1 encryption, given an oracle that reveals only whether a chosen ciphertext is correctly formatted 5.

Its role is narrowing. TLS 1.3 removed static RSA key exchange while keeping RSA signature algorithms 6. Peter Shor gave a polynomial-time algorithm for factoring on a hypothetical quantum computer 7, and NIST IR 8547, finalised in October 2026, lists RSA for both digital signatures and key establishment among the quantum-vulnerable algorithms that NIST will deprecate after 2030 and disallow under its standards after 2035 8.

Source · A Method for Obtaining Digital Signatures and Public-Key Cryptosystems (opens in a new tab) · Communications of the ACM 21(2)

References

  1. A Method for Obtaining Digital Signatures and Public-Key Cryptosystems (opens in a new tab) · Communications of the ACM 21(2), author copy at MIT · February 1, 1978 ↩ ↩ ↩ ↩
  2. Breaking RSA May Be Easier Than Factoring (opens in a new tab) · Dan Boneh and Ramarathnam Venkatesan, author copy at Stanford University ↩
  3. Twenty Years of Attacks on the RSA Cryptosystem (opens in a new tab) · Dan Boneh, author copy at Stanford University ↩ ↩
  4. Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems (opens in a new tab) · Paul C. Kocher, Advances in Cryptology, CRYPTO '96 (Springer LNCS), author copy ↩
  5. Chosen Ciphertext Attacks Against Protocols Based on the RSA Encryption Standard PKCS #1 (opens in a new tab) · Advances in Cryptology, CRYPTO '98, LNCS 1462 (Springer), course copy at ETH Zurich ↩
  6. RFC 8446, The Transport Layer Security (TLS) Protocol Version 1.3 (opens in a new tab) · Internet Engineering Task Force (RFC Editor) · August 1, 2018 ↩
  7. Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer (opens in a new tab) · arXiv (Peter W. Shor) · August 30, 1995 ↩
  8. NIST IR 8547, Transition to Post-Quantum Cryptography Standards (opens in a new tab) · National Institute of Standards and Technology · October 1, 2026 · Tables 2 and 4, quantum-vulnerable signature and key-establishment algorithms. ↩

Research articles

See what connects to it on the map of ideas →

See also