| multiparty_decrypt_lead | R Documentation |
In threshold decryption, the lead party calls this first.
Accepts either a single Ciphertext or a list of
Ciphertext objects:
multiparty_decrypt_lead(cc, sk, ct)
cc |
A CryptoContext |
sk |
This party's PrivateKey |
ct |
A Ciphertext or a list of Ciphertexts |
single Ciphertext: returns a single partially decrypted
Ciphertext, matching the original single-ciphertext signature.
list of Ciphertext: returns a list of partially decrypted
Ciphertext objects of the same length, routed through the
C++ MultipartyDecryptLead(vector<Ciphertext>, PrivateKey)
overload (cryptocontext.h line 3115). Useful when a protocol
round needs to partially decrypt a batch in one trip.
A partially decrypted Ciphertext or list of Ciphertexts, mirroring the input shape.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.