| 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
- pubkey
- the Paillier public key 
Methods
- PaillierPrivateKey$new(lambda, pubkey)
- Create a new private key with given secret - lambdaand the public key
- PaillierPrivateKey$getLambda()
- Return the secret - lambda
- PaillierPrivateKey$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]