5 rows

3 tables about RSA cryptosystem

Plain RSA Attacks

5 rows × 1 cols · as of 30 November 2026

Plain RSA, a public-key encryption method used to protect digital messages, has several weaknesses when used without secure padding. Small messages and low exponents can make ciphertexts easy to recover, while sending related messages to multiple recipients can expose their contents. Deterministic encryption and RSA’s multiplicative property also enable attacks that reveal plaintexts. Factoring the modulus can expose the private key.

Attacks against plain RSA
When encrypting with low encryption exponents (e.g., e = 3) and small values of the m (i.e., m < n), the result of m is strictly less than the modulus n. In this case, ciphertexts can be decrypted easily by taking the eth root of the ciphertext over the integers.
If the same clear-text message is sent to e or more recipients in an encrypted way, and the receivers share the same exponent e, but different p, q, and therefore n, then it is easy to decrypt the original clear-text message via the Chinese remainder theorem. Johan Håstad noticed that this attack is possible even if the clear texts are not equal, but the attacker knows a linear relation between them.38 This attack was later improved by Don Coppersmith (see Coppersmith's attack).39
Because RSA encryption is a deterministic encryption algorithm (i.e., has no random component) an attacker can successfully launch a chosen plaintext attack against the cryptosystem, by encrypting likely plaintexts under the public key and test whether they are equal to the ciphertext. A cryptosystem is called semantically secure if an attacker cannot distinguish two encryptions from each other, even if the attacker knows (or has chosen) the corresponding plaintexts. RSA without padding is not semantically secure.40
RSA has the property that the product of two ciphertexts is equal to the encryption of the product of the respective plaintexts. That is, m1m2 ≡ (m1m2) (mod n). Because of this multiplicative property, a chosen-ciphertext attack is possible. E.g., an attacker who wants to know the decryption of a ciphertext c ≡ m (mod n) may ask the holder of the private key d to decrypt an unsuspicious-looking ciphertext c′ ≡ cr (mod n) for some value r chosen by the attacker. Because of the multiplicative property, c' is the encryption of mr (mod n). Hence, if the attacker is successful with the attack, they will learn mr (mod n), from which they can derive the message m by multiplying mr with the modular inverse of r modulo n.3341
Given the private exponent d, one can efficiently factor the modulus n = pq. And given factorization of the modulus n = pq, one can obtain any private key (d', n) generated against a public key (e', n).30

Source: en.wikipedia.org/wiki/RSA_cryptosystem, shared under CC BY-SA 4.0.

Updates: Latest edits

More: Tables like this · Random tables

All tables from RSA cryptosystem

Attacks against plain RSA

  • Plain RSA Attacks

Example

Implementations