Trait paillier_common::traits::Open[][src]

pub trait Open<DK, CT, PT, R> {
    fn open(dk: &DK, c: CT) -> (PT, R);
}
Expand description

Opening of ciphertext.

Unlike decryption this also returns the randomness used.

Required methods

Open ciphertext c using key dk into a plaintext and a randomness.

Implementors