Merge branch 'master' of github.com:failedxyz/easyctf

This commit is contained in:
Jacob Magnuson 2017-03-14 00:44:11 +00:00
commit c7232aca2f
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ def get_problem(random):
# add Probable Prime function later # add Probable Prime function later
p = probprime(random.randint(3*10**79,4*10**79)) p = probprime(random.randint(3*10**79,4*10**79))
q = 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)]) salt = "".join([random.choice("0123456789abcdef") for i in range(8)])
return (p, q, e, salt) return (p, q, e, salt)

View file

@ -23,7 +23,7 @@ def get_problem(random):
# add Probable Prime function later # add Probable Prime function later
p = probprime(random.randint(10**20,9*10**20)) p = probprime(random.randint(10**20,9*10**20))
q = 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)]) salt = "".join([random.choice("0123456789abcdef") for i in range(4)])
return (p, q, e, salt) return (p, q, e, salt)