Trait zk_paillier::zkproofs::CorrectOpening
source · pub trait CorrectOpening<R, CT> {
fn verify_opening(
ek: &EncryptionKey,
m: RawPlaintext<'_>,
r: &R,
c: &CT
) -> bool;
}
Expand description
Verify correct opening of ciphertext.