| 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 R6::R6Class() generator object
PaillierKeyPair$getPrivateKey()Return the private key
pubkeythe public key
new()Create a new public private key pair with specified number of modulus bits
PaillierKeyPair$new(modulusBits)
modulusBitsthe 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)
deepWhether 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.