Trait paillier::arithimpl::traits::ModularArithmetic [] [src]

pub trait ModularArithmetic where Self: Sized {
    fn modinv(a: &Self, prime: &Self) -> Self;
    fn modpow(x: &Self, e: &Self, prime: &Self) -> Self;
    fn egcd(a: &Self, b: &Self) -> (Self, Self, Self);
    fn divmod(dividend: &Self, module: &Self) -> (Self, Self);
}

Required Methods

Implementors