GoldwasserMicali
GoldwasserMicali, or the Goldwasser–Micali cryptosystem, is a probabilistic public-key encryption scheme introduced in 1982 by Shafi Goldwasser and Silvio Micali. It is based on the quadratic residuosity problem and operates over Blum integers, numbers of the form n = pq where p and q are primes congruent to 3 modulo 4. The public key consists of n and a fixed value y that is a quadratic non-residue modulo p and modulo q; the private key is the factorization (p, q). The scheme is notable for achieving semantic security under the assumption that quadratic residuosity is hard.
Key generation begins by selecting suitable primes p and q, forming n = pq, and choosing a y
Decryption requires the private factors p and q. Given c, the recipient tests whether c is a
Security relies on the hardness of distinguishing quadratic residues from non-residues modulo n without knowledge of