Is there any security compromises if the Paillier system was used to encrypt only binary message in {0, 1}? i.e., plaintexts are either 0 or 1.
Asked
Active
Viewed 492 times
2 Answers
1
Let's review the encryption process for Paillier:
- Let $m$ be a message to be encrypted where $m\in\mathbb{Z}_n$ (in your case $m\in\{0,1\}$)
- Select random $r$ where $r\in\mathbb{Z}_n^*$
- Compute ciphertext as: $c=g^m\cdot r^n\bmod{n^2}$
It is that random value $r$ that makes it so that encrypting values drawn from a small plaintext space does not have security issues. The encryption process is randomized. So, an attacker would either have to break the cipher given just the public key and the ciphertext, or guess the randomness. Both will be extremely hard.

mikeazo
- 38,563
- 8
- 112
- 180