| 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 R6::R6Class() generator object
pubkeythe public key
new()Create a new private key with given secret lambda and the public key
PaillierPrivateKey$new(lambda, pubkey)
lambdathe secret
pubkeythe public key
getLambda()Return the secret lambda
PaillierPrivateKey$getLambda()
lambda
decrypt()Decrypt a message
PaillierPrivateKey$decrypt(c)
cthe message
the decrypted message
clone()The objects of this class are cloneable with this method.
PaillierPrivateKey$clone(deep = FALSE)
deepWhether 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.