Trait paillier::traits::Addition [] [src]

pub trait Addition<EK, CT1, CT2, CT> {
    fn add(ek: &EK, c1: &CT1, c2: &CT2) -> CT;
}

Addition of two ciphertexts.

Required Methods

Homomorphically combine ciphertexts c1 and c2 to obtain a ciphertext containing the sum of the two underlying plaintexts, reduced modulus n from ek.

Implementors