PaillierKeyPair: Construct a Paillier public and private key pair given a...

Description Usage Format Fields Methods See Also Examples

Description

Construct a Paillier public and private key pair given a fixed number of bits

Usage

1

Format

An R6Class generator object

Fields

pubkey

the Paillier public key

Methods

PaillierKeyPair$new(modulusBits)

Create a new private key with specified number of modulus bits

PaillierKeyPair$getPrivateKey()

Return the private key

See Also

PaillierPublicKey and PaillierPrivateKey

Examples

1
2
3
keys <- PaillierKeyPair$new(1024)
keys$pubkey
keys$getPrivateKey()

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