diff --git a/rsa1/grader.py b/rsa1/grader.py index 642dece..7bc9d86 100644 --- a/rsa1/grader.py +++ b/rsa1/grader.py @@ -23,7 +23,7 @@ def get_problem(random): # add Probable Prime function later p = probprime(random.randint(3*10**79,4*10**79)) q = probprime(random.randint(3*10**79,4*10**79)) - e = 3 + e = 65537 salt = "".join([random.choice("0123456789abcdef") for i in range(8)]) return (p, q, e, salt) diff --git a/rsa2/grader.py b/rsa2/grader.py index 6afccaf..b5e0f6f 100644 --- a/rsa2/grader.py +++ b/rsa2/grader.py @@ -23,7 +23,7 @@ def get_problem(random): # add Probable Prime function later p = probprime(random.randint(10**20,9*10**20)) q = probprime(random.randint(10**20,9*10**20)) - e = 3 + e = 65537 salt = "".join([random.choice("0123456789abcdef") for i in range(4)]) return (p, q, e, salt)