Crate tpe

Source

Structs§

AggregateDecryptionKey
AggregatePublicKey
CipherText
DecryptionKeyShare
EphemeralPublicKey
EphemeralSignature
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.
PublicKeyShare
SecretKeyShare

Functions§

aggregate_dk_shares
create_dk_share
decrypt_preimage
derive_agg_dk
derive_pk_share
encrypt_preimage
verify_agg_dk
The function asserts that the ciphertext is valid.
verify_ciphertext
Verifying a ciphertext guarantees that it has not been malleated.
verify_dk_share
The function asserts that the ciphertext is valid.