In the Rabin cryptosystem, the public key is , usually with distinct secret primes . A message is encrypted asKnowing and , the receiver finds the two square roots of modulo each prime and combines them by the Chinese remainder theorem, obtaining the four square roots modulo ; redundancy identifies the intended message.
Factoring plainly enables this decryption. Conversely, suppose an algorithm returns a square root of a chosen quadratic residue. Choose random invertible , submit , and receive a root . With probability at least , ; thenis a nontrivial factor. Thus decryption and factoring are equivalent up to a randomized polynomial-time reduction.
For the RSA cryptosystem, choose and a public exponent coprime to . The public key is , while the private exponent satisfiesEncryption sends to , and decryption computes .
Let the intercepted ciphertexts beSince , the extended Euclidean algorithm gives integers with . The common-modulus RSA attack recoversNegative powers are evaluated using modular inverses. If an inverse does not exist, its greatest common divisor with already factors the modulus.
Yes. Your public and private exponents reveal , a nonzero multiple of . The standard RSA private exponent reveals the factorization algorithm uses repeated squaring of random residues to obtain a nontrivial square root of one and hence factors with a greatest common divisor. Once and are known, compute and invert every other customer's public exponent to obtain that customer's private exponent.
Articles by others on the same topic
There are currently no matching articles.