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

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

Opening of ciphertext.

Unlike decryption this also returns the randomness used.

Required methods

fn open(dk: &DK, c: CT) -> (PT, R)

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

Loading content...

Implementors

impl<'c, 'm> Open<DecryptionKey, &'c RawCiphertext<'c>, RawPlaintext<'m>, Randomness> for Paillier[src]

impl<'c, 'm> Open<DecryptionKey, RawCiphertext<'c>, RawPlaintext<'m>, Randomness> for Paillier[src]

Loading content...