Tags: paillier safe_prime 

Rating: 0

## TL;DR
1. Generate a safe prime `q = 2p + 1`
2. Use p * q as public key
3. Send enc(q) as c
4. `x0 = dec(c0) % p`
5. `x1 = dec(c1) % q`