From 90610332eba12ed03ab9a4da121120bd8637118d Mon Sep 17 00:00:00 2001 From: neptunia Date: Sat, 4 Mar 2017 18:04:37 -0500 Subject: [PATCH] increase size of p and q --- RSA1/grader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RSA1/grader.py b/RSA1/grader.py index e03de4a..9d5b790 100644 --- a/RSA1/grader.py +++ b/RSA1/grader.py @@ -18,8 +18,8 @@ def probprime(s): def get_problem(random): # add Probable Prime function later - p = probprime(random.randint(10**39,9*10**39)) - q = probprime(random.randint(10**39,9*10**39)) + p = probprime(random.randint(3*10**59,4*10**59)) + q = probprime(random.randint(3*10**59,4*10**59)) e = 3 salt = "".join([random.choice("0123456789abcdef") for i in range(8)]) return (p, q, e, salt)