Dangerously irrelevant operator

From formulasearchengine
Jump to navigation Jump to search

The Damgård–Jurik cryptosystem[1] is a generalization of the Paillier cryptosystem. It uses computations modulo ns+1 where n is an RSA modulus and s a (positive) natural number. Paillier's scheme is the special case with s=1. The order φ(ns+1) (Euler's totient function) of Zns+1* can be divided by ns. Moreover Zns+1* can be written as the direct product of G×H. G is cyclic and of order ns, while H is isomorphic to Zn*. For encryption, the message is transformed into the corresponding coset of the factor group G/H and the security of the scheme relies on the difficulty of distinguishing random elements in different cosets of H. It is semantically secure if it is hard to decide if two given elements are in the same coset. Like Paillier, the security of Damgård–Jurik can be proven under the decisional composite residuosity assumption.

Key generation

  1. Choose two large prime numbers p and q randomly and independently of each other.
  2. Compute n=pq and λ=lcm(p1,q1).
  3. Choose an element gns+1* such that g=(1+n)jxmodns+1 for a known j relative prime to n and xH.
  4. Using the Chinese Remainder Theorem, choose d such that dmodnn* and d=0modλ. For instance d could be λ as in Paillier's original scheme.
  • The public (encryption) key is (n,g).
  • The private (decryption) key is d.

Encryption

  1. Let m be a message to be encrypted where mns.
  2. Select random r where rns+1*.
  3. Compute ciphertext as: c=gmrnsmodns+1.

Decryption

  1. Ciphertext cns+1*
  2. Compute cdmodns+1. If c is a valid ciphertext then cd=(gmrns)d=((1+n)jmxmrns)d=(1+n)jmdmodns(xmrns)dmodλ=(1+n)jmdmodns.
  3. Apply a recursive version of the Paillier decryption mechanism to obtain jmd. As jd is known, it is possible to compute m=(jmd)(jd)1modns.

Simplification

At the cost of no longer containing the classical Paillier cryptosystem as an instance, Damgård–Jurik can be simplified in the following way:

In this case decryption produces cd=(1+n)mmodns+1. Using recursive Paillier decryption this gives us directly the plaintext m.

See also

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

Template:Cryptography navbox