Skip to content

Instantly share code, notes, and snippets.

View aristus's full-sized avatar

Carlos Bueno aristus

View GitHub Profile
from math import sqrt, ceil
from gmpy import mpz, is_square, is_prime
fermat = 5959
rsa64 = 16748810522526493651
n = rsa64
report_batch = 1000000