powered by
Construct a Paillier public and private key pair given a fixed number of bits
PaillierKeyPair
An R6Class generator object
R6Class
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
PaillierPublicKey
PaillierPrivateKey
# NOT RUN { keys <- PaillierKeyPair$new(1024) keys$pubkey keys$getPrivateKey() # }
Run the code above in your browser using DataLab