[][src]Module fawkes_crypto_phase2::parameters

Structs

MPCParameters

MPC parameters are just like bellman Parameters except, when serialized, they contain a transcript of contributions at the end, which can be verified.

Functions

contains_contribution

This is a cheap helper utility that exists purely because Rust still doesn't have type-level integers and so doesn't implement PartialEq for [T; 64]

keypair

Compute a keypair, given the current parameters. Keypairs cannot be reused for multiple contributions or contributions in different parameters.

verify_contribution

Verify a contribution, given the old parameters and the new parameters. Returns the hash of the contribution.