rsa1 no more stupid???/?/?

This commit is contained in:
Jacob Magnuson 2017-03-14 06:11:12 +00:00
parent b11e620ec7
commit ccedd4530a

View file

@ -43,7 +43,7 @@ def generate(random):
})
def grade(random, key):
n, salt = get_problem(random)
p, q, e, salt = get_problem(random)
if key.find("%s_%s" % (flag, salt)) >= 0:
return True, "Correct!"
return False, "Nope."