Naccache–Stern cryptosystem should not be confused with Naccache–Stern knapsack cryptosystem.
The Naccache–Stern cryptosystem is a homomorphic public-key cryptosystem whose security rests on the higher residuosity problem. The Naccache–Stern cryptosystem was discovered by David Naccache and Jacques Stern in 1998.
Like many public key cryptosystems, this scheme works in the group
(Z/nZ)*
u=
k/2 | |
\prod | |
i=1 |
pi
v=
k | |
\prod | |
k/2+1 |
pi
\sigma=uv=
k | |
\prod | |
i=1 |
pi
The public key is the numbers σ,n,g and the private key is the pair p,q.
When k=1 this is essentially the Benaloh cryptosystem.
This system allows encryption of a message m in the group
Z/\sigmaZ
x\inZ/nZ
E(m)=x\sigmagm\modn
Then E(m) is an encryption of the message m.
To decrypt, we first find m mod pi for each i, and then we apply the Chinese remainder theorem to calculate m mod
\sigma
Given a ciphertext c, to decrypt, we calculate
ci\equiv
\phi(n)/pi | |
c |
\modn
\begin{matrix}
\phi(n)/pi | |
c |
&\equiv&
\sigma\phi(n)/pi | |
x |
m\phi(n)/pi | |
g |
\modn\ &\equiv&
(mi+yipi)\phi(n)/pi | |
g |
\modn\ &\equiv&
mi\phi(n)/pi | |
g |
\modn\end{matrix}
mi\equivm\modpi
ci
j\phi(n)/pi | |
g |
The semantic security of the Naccache–Stern cryptosystem rests on an extension of the quadratic residuosity problem known as the higher residuosity problem.
Naccache . David. Stern . Jacques. A New Public Key Cryptosystem Based on Higher Residues. Proceedings of the 5th ACM Conference on Computer and Communications Security. CCS '98. 1998. 1-58113-007-4. 59–66. 10.1145/288090.288106. ACM. free.