[][src]Trait classygroup::BigNum

pub trait BigNum: Zero + One + Clone + PartialOrd + Debug + Rem + ShlAssign<usize> + for<'a> MulAssign<&'a Self> + Sub<u64, Output = Self> + Add<u64, Output = Self> + From<u64> + for<'a> From<&'a [u8]> + Shl<usize, Output = Self> + Shr<usize, Output = Self> + Neg<Output = Self> + FromStr + for<'a> Div<&'a Self, Output = Self> + Eq + Hash {
    fn probab_prime(&self, iterations: u32) -> bool;
fn setbit(&mut self, offset: usize);
fn mod_powm(&mut self, base: &Self, exponent: &Self, modulus: &Self); }

Required methods

fn probab_prime(&self, iterations: u32) -> bool

fn setbit(&mut self, offset: usize)

fn mod_powm(&mut self, base: &Self, exponent: &Self, modulus: &Self)

Loading content...

Implementors

impl BigNum for Mpz[src]

Loading content...