- Naccache-Stern cryptosystem
Note: this is not to be confused with the
Naccache-Stern knapsack cryptosystem .The Naccache-Stern cryptosystem is a homomorphic
Public-key cryptosystem whose security rests on thehigher residuosity problem .The Naccache-Stern cryptosystem was discovered byDavid Naccache andJacques Stern in 1998.cheme Definition
Like many public key cryptosystems, this scheme works in the group where "n" is a product of two large primes. This scheme is homomorphic and hence malleable.
Key Generation
*Pick a family of "k" small distinct primes "p"1,...,"p"k.
*Divide the set in half and set and .
*Set
*Choose large primes "a" and "b" such that both "p" = 2"au"+1 and "q"=2"bv"+1 are prime.
*Set "n"="pq".
*Choose a random "g" mod "n" such that "g" has order φ("n")/4.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 .Message Encryption
This system allows encryption of a message "m" in the group .
*Pick a random .
*CalculateThen "E(m)" is an encryption of the message "m".
Message Decryption
To decrypt, we first find "m" mod "p""i" for each "i", and then we apply the
Chinese remainder theorem to calculate "m" mod "n".Given a ciphertext "c", to decrypt, we calculate
*. Thus:where .
*Since "p""i" is chosen to be small, "m""i" can be recovered be exhaustive search, i.e. by comparing to for "j" from 1 to "p""i"-1.
*Once "m""i" is known for each "i", "m" can be recovered by a direct application of the Chinese remainder theorem.ecurity
The
semantic security of the Naccache-Stern cryptosystem rests on an extension of thequadratic residuosity problem known as thehigher residuosity problem .References
[http://citeseer.ist.psu.edu/naccache98new.html Original paper]
Wikimedia Foundation. 2010.