| PaillierPrivateKey {homomorpheR} | R Documentation |
Construct a Paillier private key with the given secret and a public key
Description
Construct a Paillier private key with the given secret and a public key
Usage
PaillierPrivateKey
Format
An R6Class generator object
Fields
pubkeythe Paillier public key
Methods
PaillierPrivateKey$new(lambda, pubkey)Create a new private key with given secret
lambdaand the public keyPaillierPrivateKey$getLambda()Return the secret
lambdaPaillierPrivateKey$decrypt(c)Decrypt a message. The value
cshould be an encrypted value
See Also
PaillierPublicKey which goes hand-in-hand with this object
[Package homomorpheR version 0.2-2 Index]