RSACrack¶
-
rsacrack.egcd(a: int, b: int) → Tuple[int, int, int]¶ Calculates the Euclidean GCD of a and b
-
rsacrack.genprimes(n) → List¶ A copy of the prime generator found in fastgen.py
-
rsacrack.genprimes_file(f)¶ Generates primes from a given file that contains a list
-
rsacrack.genprimes_generic()¶ Generates probable primes using 6*i +- 1
-
rsacrack.modinv(a: int, m: int) → int¶ Calculates the modular inverse of a and m