MultiPartyDecryptor

Trait MultiPartyDecryptor 

Source
pub trait MultiPartyDecryptor<M, C> {
    type DecryptionShare;

    // Required methods
    fn gen_decryption_share(&self, c: &C) -> Self::DecryptionShare;
    fn aggregate_decryption_shares(
        &self,
        c: &C,
        shares: &[Self::DecryptionShare],
    ) -> M;
}

Required Associated Types§

Required Methods§

Source

fn gen_decryption_share(&self, c: &C) -> Self::DecryptionShare

Source

fn aggregate_decryption_shares( &self, c: &C, shares: &[Self::DecryptionShare], ) -> M

Implementors§