Trait paillier::traits::Multiplication [] [src]

pub trait Multiplication<EK, CT1, PT2, CT> {
    fn mul(ek: &EK, c1: &CT1, m2: &PT2) -> CT;
}

Multiplication of ciphertext with plaintext.

Required Methods

Homomorphically combine ciphertext c1 and plaintext m2 to obtain a ciphertext containing the multiplication of the (underlying) plaintexts, reduced modulus n from ek.

Implementors