Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Paillier cryptosystem
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Homomorphic properties === A notable feature of the Paillier cryptosystem is its [[Homomorphic encryption|homomorphic]] properties along with its non-deterministic encryption (see Electronic voting in Applications for usage). As the encryption function is additively homomorphic, the following identities can be described: * '''Homomorphic addition of plaintexts''' : The product of two ciphertexts will decrypt to the sum of their corresponding plaintexts, :: <math>D(E(m_1, r_1)\cdot E(m_2, r_2)\bmod n^2) = m_1 + m_2 \bmod n. \, </math> : The product of a ciphertext with a plaintext raising <math>g</math> will decrypt to the sum of the corresponding plaintexts, :: <math>D(E(m_1, r_1)\cdot g^{m_2} \bmod n^2) = m_1 + m_2 \bmod n. \, </math> * '''Homomorphic multiplication of plaintexts''' : A ciphertext raised to the power of a plaintext will decrypt to the product of the two plaintexts, :: <math>D(E(m_1, r_1)^{m_2}\bmod n^2) = m_1 m_2 \bmod n, \, </math> :: <math>D(E(m_2, r_2)^{m_1}\bmod n^2) = m_1 m_2 \bmod n. \, </math> : More generally, a ciphertext raised to a constant ''k'' will decrypt to the product of the plaintext and the constant, :: <math>D(E(m_1, r_1)^k\bmod n^2) = k m_1 \bmod n. \, </math> However, given the Paillier encryptions of two messages there is no known way to compute an encryption of the product of these messages without knowing the private key.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)