Trait paillier::traits::Encrypt

source ·
pub trait Encrypt<EK, PT, CT> {
    fn encrypt(ek: &EK, m: PT) -> CT;
}
Expand description

Encryption of plaintext.

Required Methods

Encrypt plaintext m under key ek into a ciphertext.

Implementors