pub trait FheEq<Rhs = Self> {
    type Output;

    fn eq(&self, other: Rhs) -> Self::Output;
}
Expand description

Trait for fully homomorphic equality test.

The standard trait std::cmp::PartialEq can not be used has it requires to return a bool.

This means that to compare ciphertext to another ciphertext or a scalar, for equality, one cannot use the standard operator == but rather, use the function directly.

Required Associated Types

Required Methods

Implementors