QR ⇒ PKE
Statement
If QR is hard, the Goldwasser–Micali scheme is an IND-CPA-secure PKE for one-bit messages: with and , ; for ; outputs iff the ciphertext lies in , decided with . Encryptions of are uniform in and encryptions of uniform in , so IND-CPA security is equivalent to QR — GM84.
Sketch
The reduction sets to the QR challenge : if it simulates the real scheme exactly, and if encryptions of and are identically distributed, so the IND-CPA advantage decides the residuosity of . Conversely a QR decider decrypts.
Notes
- GM84 introduce semantic security, and this scheme is the first PKE proved to achieve it — GM84.
- Efficiency: each plaintext bit costs a squaring and a multiplication modulo and becomes an element of , so ciphertexts are times longer than plaintexts; decryption computes one Legendre symbol modulo per bit — standard.