Damgård–Jurik cryptosystem
- 1 min read
- 4 chapters
Related on Lably
Through Natural number, Euler's totient function and Prime number
Key generation
- Choose two large prime numbers p and q randomly and independently of each other.
- Compute and .
- Choose an element such that for a known relative prime to and .
- Using the Chinese Remainder Theorem, choose such that and . For instance could be as in Paillier's original scheme.
- The public (encryption) key is .
- The private (decryption) key is .
Sign in to keep reading
3 more chapters are free with a Lably account.
Encryption
- Let be a message to be encrypted where .
- Select random where .
- Compute ciphertext as: .
Decryption
- Ciphertext
- Compute . If c is a valid ciphertext then .
- Apply a recursive version of the Paillier decryption mechanism to obtain . As is known, it is possible to compute .
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:
- The base g is fixed as .
- The decryption exponent d is computed such that and .
In this case decryption produces . Using recursive Paillier decryption this gives us directly the plaintext m.

