For , choose coprime to and a private exponent with . Encryption and decryption are
Recover a plaintext from an RSA cryptosystem ciphertext and the public key, without a supplied private key. Integer factorization of the modulus suffices; the existence of an efficient general reduction in the reverse direction is not known.
Repeatedly apply the public RSA cryptosystem encryption map to a ciphertext. A return to that ciphertext reveals its preceding iterate as the plaintext. A nontrivial greatest common divisor between an iterate-minus-start and the modulus instead enables integer factorization. Eventual return alone supplies no useful running-time bound.
An attack exploiting preservation of an algebraic operation by encryption or signing. The textbook RSA cryptosystem has , so unprotected ciphertexts can be modified multiplicatively. Authentication must be verified before accepting a modified message.
If the same invertible message is sent under one RSA modulus with coprime public exponents , choose integers with . From one recovers
using modular inverses for negative exponents.
Knowledge of a valid public and private exponent gives , a nonzero multiple of . Writing it as with odd and testing random bases produces a nontrivial square root of one modulo with high probability; a greatest common divisor then factors . Thus one customer's private key under a shared semiprime modulus compromises every exponent using that modulus.
An RSA fixed point satisfies . Since every valid public exponent is odd, ; therefore is a fixed point whenever is.

Ancestors (4)

  1. Algebra
  2. Area of mathematics
  3. Mathematics
  4. Home

Synonyms (1)

Discussion (0) New discussion

There are no discussions about this article yet.

Articles by others on the same topic (1)

RSA (cryptosystem) by Ciro Santilli 40 Updated 2025-07-16
Based on the fact that we don't have a P algorithm for integer factorization as of 2020. But nor proof that one does not exist!
The private key is made of two randomly generated prime numbers: and . How such large primes are found: how large primes are found for RSA.
The public key is made of:
Given a plaintext message m, the encrypted ciphertext version is:
c = m^e mod n
This operation is called modular exponentiation can be calculated efficiently with the Extended Euclidean algorithm.
The inverse operation of finding the private m from the public c, e and is however believed to be a hard problem without knowing the factors of n.
However, if we know the private p and q, we can solve the problem. As follows.
First we calculate the modular multiplicative inverse. TODO continue.