Description Usage Format Fields Methods See Also
Construct a Paillier private key with the given secret and a public key
1 |
An R6Class
generator object
pubkey
the Paillier public key
PaillierPrivateKey$new(lambda, pubkey)
Create a new private key with given secret
lambda
and the public key
PaillierPrivateKey$getLambda()
Return the secret lambda
PaillierPrivateKey$decrypt(c)
Decrypt a message. The value c
should be an
encrypted value
PaillierPublicKey
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.