MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / rabin_miller.py

File rabin_miller.py

ciphers/rabin_miller.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from __future__ import print_function
2# Primality Testing with the Rabin-Miller Algorithm
3
4import random

Callers

nothing calls this directly

Calls 2

generateLargePrimeFunction · 0.85
isPrimeFunction · 0.70

Tested by

no test coverage detected