PaillierKeyPair {homomorpheR} | R Documentation |
Construct a Paillier public and private key pair given a fixed number of bits
Description
Construct a Paillier public and private key pair given a fixed number of bits
Usage
PaillierKeyPair
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
keys <- PaillierKeyPair$new(1024)
keys$pubkey
keys$getPrivateKey()
[Package homomorpheR version 0.2-2 Index]