Crate tpe

Source

Macrosยง

impl_hash_with_serialized_compressed ๐Ÿ”’

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_ephemeral_sk ๐Ÿ”’
derive_pk_share
encrypt_preimage
hash_to_message ๐Ÿ”’
lagrange_multipliers ๐Ÿ”’
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.
xor_with_hash ๐Ÿ”’