Description Usage Arguments Details Value Author(s) See Also Examples
This function will generate cryptographic keys to enable encryption, decryption and possibly other operations (such as relinearisation or bootstrapping) for the homomorphic encryption schemes supported in this package.
1 | keygen(p)
|
p |
a parameters object as produced by the |
The scheme to be used is determined by the type of the parameters object,
p
.
A list object containing the keys will be returned
Depending on the scheme specified by the parameters object the exact structure
will vary. For example, a symmetric key scheme will only return a private key,
whereas a public key scheme will return a public and private keypair.
Certain schemes may include additional keys for operations such as
relinearisation or bootstrapping. The keys will be named pk
(public),
sk
(private), rlk
(relinearisation), bk
(bootstrapping)
in the list object if they are part of the scheme.
Louis Aslett
pars
for generating the parameters for a scheme; enc
for encrypting messages using the keys generated by this function.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.