A Python library to check primality of numbers using the Miller-Rabin Algorithm (Wikipedia).
Install using pip.
pip install miller-rabin-primality
Example:
from miller_rabin_primality import is_prime
print(is_prime(53446463))
A Python library to check primality of numbers using the Miller-Rabin Algorithm (Wikipedia).
Install using pip.
pip install miller-rabin-primality
Example:
from miller_rabin_primality import is_prime
print(is_prime(53446463))