| multiparty_key_gen | R Documentation |
The lead party uses key_gen() to generate the initial keypair.
Subsequent parties call this with the lead's public key.
multiparty_key_gen(cc, lead_pk, make_sparse = FALSE, fresh = FALSE)
cc |
A CryptoContext (must have MULTIPARTY feature enabled) |
lead_pk |
The lead party's PublicKey, or a list of
|
make_sparse |
Logical; if |
fresh |
Logical; if |
OpenFHE declares a second form that takes the secret keys of
all parties and returns the key pair of their sum. Pass a list of
PrivateKey objects as lead_pk to call it; make_sparse and
fresh do not apply to that form.
A KeyPair for this party, or, for a list of secret keys, the key pair of the combined secret.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.