increase size of p and q
This commit is contained in:
parent
93d5f2479c
commit
90610332eb
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue