MCPcopy Create free account
hub / github.com/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

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

Callers

nothing calls this directly

Calls 2

generate_large_primeFunction · 0.85
is_prime_low_numFunction · 0.85

Tested by

no test coverage detected