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
Construct a Paillier private key with the given secret and a public key
Format
An R6::R6Class()
generator object
Public fields
pubkey
the public key
Methods
Public methods
Method new()
Create a new private key with given secret lambda
and the public key
Usage
PaillierPrivateKey$new(lambda, pubkey)
Arguments
lambda
the secret
pubkey
the public key
Method getLambda()
Return the secret lambda
Usage
PaillierPrivateKey$getLambda()
Returns
lambda
Method decrypt()
Decrypt a message
Usage
PaillierPrivateKey$decrypt(c)
Arguments
c
the message
Returns
the decrypted message
Method clone()
The objects of this class are cloneable with this method.
Usage
PaillierPrivateKey$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
See Also
PaillierPublicKey()
which goes hand-in-hand with this object
[Package homomorpheR version 0.3 Index]