from typing import Callable, Optional, Union, Set PrimeResult = int COMPOSITE: PrimeResult PROBABLY_PRIME: PrimeResult def miller_rabin_test(candidate: int, iterations: int, randfunc: Optional[Callable[[int],bytes]]=None) -> PrimeResult: ... def lucas_test(candidate: int) -> PrimeResult: ... _sieve_base: Set[int] def test_probable_prime(candidate: int, randfunc: Optional[Callable[[int],bytes]]=None) -> PrimeResult: ... def generate_probable_prime(*, exact_bits: int = ..., randfunc: Callable[[int],bytes] = ..., prime_filter: Callable[[int],bool] = ...) -> int: ... def generate_probable_safe_prime(*, exact_bits: int = ..., randfunc: Callable[[int],bytes] = ...) -> int: ...
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
Numbers.py | File | 1.97 KB | 0644 |
|
Numbers.pyi | File | 82 B | 0644 |
|
Primality.py | File | 11.1 KB | 0644 |
|
Primality.pyi | File | 823 B | 0644 |
|
_IntegerBase.py | File | 10.26 KB | 0644 |
|
_IntegerBase.pyi | File | 3.45 KB | 0644 |
|
_IntegerCustom.py | File | 4.15 KB | 0644 |
|
_IntegerCustom.pyi | File | 135 B | 0644 |
|
_IntegerGMP.py | File | 26.12 KB | 0644 |
|
_IntegerGMP.pyi | File | 78 B | 0644 |
|
_IntegerNative.py | File | 10.63 KB | 0644 |
|
_IntegerNative.pyi | File | 81 B | 0644 |
|
__init__.py | File | 0 B | 0644 |
|
_modexp.abi3.so | File | 202.8 KB | 0755 |
|