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 restriction is necessary: is efficiently computable without , and certifies — GM84. It underlies the first provably CPA-secure public-key encryption scheme (QR ⇒ PKE) — GM84.

Assumption

Let for distinct uniform -bit primes , a Blum integer. Let and . For any distinct odd primes , the group splits evenly: exactly half its elements are in and half are in — standard.

\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 \bits$
\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 (for Blum integers) if for all efficient ,

is negligible.

Known Results

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

Higher residuosity generalizes QR from squares to -th powers. Let be prime, computable from in time , with , and let for uniform -bit primes with , and , the conditions of CF85. The -th powers then form a subgroup of index in — standard.

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{hr}}_{d,\calA}(\secpar)$}
\begin{algorithmic}
\State $(p, q) \getsr$ $\secpar$-bit primes with $d \mid p - 1$, $\gcd(d, (p-1)/d) = 1$, $d \nmid q - 1$; $N \gets pq$
\State $b \getsr \bits$
\If{$b = 0$}
  \State $r \getsr \ZZ_N^*$; $a \gets r^d \bmod N$
  \Comment{$a$ is a $d$-th power}
\Else
  \State $a \getsr \ZZ_N^* \setminus \{r^d : r \in \ZZ_N^*\}$
  \Comment{$a$ is not a $d$-th power}
\EndIf
\State $b' \gets \calA(1^\secpar, N, d, a)$
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}

Higher residuosity is hard for if for all efficient ,

is negligible. As an object, higher residuosity denotes hardness for some such . It underlies Goldwasser–Micali generalizations and the Benaloh cryptosystem (Higher residuosity ⇒ PKE) — CF85, Ben94.

Attacks

  • QR is broken if factoring is easy: knowing determines all Legendre symbols — folklore
  • Quantum attacks: Shor’s algorithm factors and breaks QR — Shor97

Participates in

Builds on Quadratic residuosity assumption