pub trait DecryptionShare<PK: EncryptionKey>: Sized {
fn combine(
decryption_shares: &[Self],
public_key: &PK
) -> Result<PK::Plaintext, DecryptionError>;
}
Expand description
A DecryptionShare
is the result of decrypting with a partial key. When enough of these shares
are combined, they reveal the actual decryption.