Construct a Paillier public key with the given modulus.
R6Class generator object
the number of bits in the modulus
the square of the modulus
one more than the modulus
Create a new public key with given
bits and modulus
n. It also precomputes a few values for more efficient computations
Encrypt a message. The value
m should be less than
the modulus, not checked
Return the sum of two encrypted messages
Return the product of two encrypted messages
PaillierPrivateKey which goes hand-in-hand with this object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.