Crate threshold_crypto

source ·

Re-exports

pub extern crate pairing;

Modules

Crypto errors.
Utilities for distributed key generation: uni- and bivariate polynomials and commitments.

Structs

An encrypted message.
A decryption share. A threshold of decryption shares can be used to decrypt a message.
A public key.
A public key and an associated set of public key shares.
A public key share.
A secret key; wraps a single prime field element. The field element is heap allocated to avoid any stack copying that result when passing SecretKeys between stack frames.
A secret key and an associated set of secret key shares.
A secret key share.
A signature.
A signature share.

Functions

Returns a hash of the given message in G2.