PaillierPrivateKey | R Documentation |
Construct a Paillier private key with the given secret and a public key
Construct a Paillier private key with the given secret and a public key
An R6Class
generator object
pubkey
the public key
new()
Create a new private key with given secret lambda
and the public key
PaillierPrivateKey$new(lambda, pubkey)
lambda
the secret
pubkey
the public key
getLambda()
Return the secret lambda
PaillierPrivateKey$getLambda()
lambda
decrypt()
Decrypt a message
PaillierPrivateKey$decrypt(c)
c
the message
the decrypted message
clone()
The objects of this class are cloneable with this method.
PaillierPrivateKey$clone(deep = FALSE)
deep
Whether to make a deep clone.
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.