PaillierKeyPair | R Documentation |
Construct a Paillier public and private key pair given a fixed number of bits
Construct a Paillier public and private key pair given a fixed number of bits
An R6Class
generator object
PaillierKeyPair$getPrivateKey()
Return the private key
pubkey
the public key
new()
Create a new public private key pair with specified number of modulus bits
PaillierKeyPair$new(modulusBits)
modulusBits
the number of bits to use
a PaillierKeyPair
object
getPrivateKey()
Return the private key
PaillierKeyPair$getPrivateKey()
the private key
clone()
The objects of this class are cloneable with this method.
PaillierKeyPair$clone(deep = FALSE)
deep
Whether to make a deep clone.
PaillierPublicKey
and PaillierPrivateKey
keys <- PaillierKeyPair$new(1024) keys$pubkey keys$getPrivateKey()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.