Quadratic residuosity assumption
The quadratic residuosity (QR) assumption states that it is computationally hard to decide whether a given integer with Jacobi symbol is a quadratic residue modulo . The Jacobi symbol restriction ensures that quadratic residuosity is information-theoretically hidden; the QR assumption makes this computationally hard. It underlies the first provably CPA-secure public-key encryption scheme — GM84.
Assumption
Let for random -bit primes (or general primes). Let and . When , the group splits evenly: exactly half its elements are in and half are in , so membership is information-theoretically hidden.
\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{qr}}_{\calA}(\secpar)$}
\begin{algorithmic}
\State $(p, q) \getsr$ distinct $\secpar$-bit primes with $p \equiv q \equiv 3 \pmod{4}$; $N \gets pq$
\State $b \getsr \{0,1\}$
\If{$b = 0$}
\State $r \getsr \ZZ_N^*$; $a \gets r^2 \bmod N$
\Comment{$a \in \QR_N$}
\Else
\State $a \getsr \J_N \setminus \QR_N$
\Comment{$a$ has Jacobi symbol 1 but is not a square}
\EndIf
\State $b' \gets \calA(1^\secpar, N, a)$
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}
QR is hard if for all efficient ,
is negligible.
Known Results
- QR → CPA-secure PKE: Goldwasser-Micali encryption (the first IND-CPA PKE scheme) encrypts one bit at a time — GM84
- Goldwasser-Micali is multiplicatively homomorphic: — GM84
- QR follows from factoring hardness: knowing and allows computing the Legendre symbols and — GM84
- QR → statistically hiding commitment scheme — standard
- The original ZK proof of GMR85 was for quadratic residuosity — GMR85
Variations
Quadratic residuosity over (prime field)
For a prime , deciding quadratic residuosity modulo is easy (via the Legendre symbol). The hardness only arises for composite moduli.
Higher residuosity
Generalizes QR to -th power residuosity modulo . Underlies Goldwasser-Micali generalizations and the Benaloh cryptosystem.