primality-test
An implementation of the Miller-Rabin primality test to efficiently determine with high probability whether some arbitrarily-large number is prime.
primal
Primality test using fast checks and miller-rabin (all in one)
mr-crypt
encrypt and decrypt with Miller-Rabin