primal

Primality test using fast checks and miller-rabin (all in one)

fermat-prime

Uses the Fermat primality test with 100 runs to determine if a number is prime