Trait paillier::traits::Encryption [] [src]

pub trait Encryption<EK, PT, CT> {
    fn encrypt(ek: &EK, m: &PT) -> CT;
}

Encryption of plaintext.

Required Methods

Encrypt plaintext m under key ek into a ciphertext.

Implementors