PaillierPrivateKey: Construct a Paillier private key with the given secret and a...

Description Usage Format Fields Methods See Also

Description

Construct a Paillier private key with the given secret and a public key

Usage

1

Format

An R6Class generator object

Fields

pubkey

the Paillier public key

Methods

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

See Also

PaillierPublicKey which goes hand-in-hand with this object


homomorpheR documentation built on May 29, 2017, 10:04 a.m.