Metadata-Version: 2.1
Name: prime-test
Version: 0.2.6
Summary: Checks if a number is prime
Author: Toby Connor-Kebbell
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE

## prime_test

This module provides the function `test(n)` that returns `True` if `n` is a prime number, and `False` if it is composite (note that this test is probabilistic so that it can test extremely large numbers very fast for RSA). The function also has an optional variable `k` (defaults to 40) which is the iterations of the test, more information on that can be found [here](https://crypto.stanford.edu/pbc/notes/numbertheory/millerrabin.html#_the_miller_rabin_test). Below is an example of how to use the module.

```python
from prime_test import prime
prime.test(167)
```

