pub trait ModularPow<Exp = Self, Modulus = Self> {
    type Output;

    fn powm(self, exp: Exp, m: Modulus) -> Self::Output;
}
Expand description

Modular power functions

Required Associated Types

Required Methods

Return (self ^ exp) % m

Implementations on Foreign Types

Implementors