[][src]Crate miller_rabin

Functions

is_prime

Test whether an integer n is likely prime using the Miller-Rabin primality test.

is_witness

Test whether an integer a is a witness for the compositeness of n.