PaillierKeyPair {homomorpheR} | R Documentation |
Construct a Paillier public and private key pair given a fixed number of bits
PaillierKeyPair
An R6Class
generator object
pubkey
the Paillier public key
PaillierKeyPair$new(modulusBits)
Create a new private key with specified number of modulus bits
PaillierKeyPair$getPrivateKey()
Return the private key
PaillierPublicKey
and PaillierPrivateKey
keys <- PaillierKeyPair$new(1024)
keys$pubkey
keys$getPrivateKey()