For , choose coprime to and a private exponent with . Encryption and decryption are
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.

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.