Structs§
- Aggregate
Decryption Key - Aggregate
Public Key - Cipher
Text - Decryption
KeyShare - Ephemeral
Public Key - Ephemeral
Signature - G1Affine
- This is an element of $\mathbb{G}_1$ represented in the affine coordinate space. It is ideal to keep elements in this representation to reduce memory usage and improve performance through the use of mixed curve model arithmetic.
- G2Affine
- This is an element of $\mathbb{G}_2$ represented in the affine coordinate space. It is ideal to keep elements in this representation to reduce memory usage and improve performance through the use of mixed curve model arithmetic.
- Public
KeyShare - Secret
KeyShare
Functions§
- aggregate_
decryption_ shares - create_
decryption_ key_ share - decrypt_
preimage - derive_
agg_ decryption_ key - derive_
public_ key_ share - encrypt_
preimage - verify_
agg_ decryption_ key - The function asserts that the ciphertext is valid.
- verify_
ciphertext - Verifying a ciphertext guarantees that it has not been malleated.
- verify_
decryption_ key_ share - The function asserts that the ciphertext is valid.