Trait kzen_paillier::traits::Mul

source ·
pub trait Mul<EK, CT1, PT2, CT> {
    fn mul(ek: &EK, c1: CT1, m2: PT2) -> CT;
}
Expand description

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§