PaillierPrivateKey {homomorpheR} | R Documentation |
Construct a Paillier private key with the given secret and a public key
PaillierPrivateKey
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