pub trait HomomorphicMultiplication: EncryptionKey {
    fn mul(
        &self,
        ciphertext_a: &Self::Ciphertext,
        ciphertext_b: &Self::Ciphertext
    ) -> Self::Ciphertext; fn pow(
        &self,
        ciphertext: &Self::Ciphertext,
        input: &Self::Input
    ) -> Self::Ciphertext; }
Expand description

Trait implemented by multiplicatively homomorphic cryptosystems

Required Methods

Combines two ciphertexts so that their decrypted value reflects some multiplication operation

Applies some operation on a ciphertext so that the decrypted value reflects some exponentiation with input

Implementors