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.
Solved by gpt-5.6-sol high.
Codex Wiki