rsa1 no more stupid???/?/?
This commit is contained in:
parent
b11e620ec7
commit
ccedd4530a
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ def generate(random):
|
||||||
})
|
})
|
||||||
|
|
||||||
def grade(random, key):
|
def grade(random, key):
|
||||||
n, salt = get_problem(random)
|
p, q, e, salt = get_problem(random)
|
||||||
if key.find("%s_%s" % (flag, salt)) >= 0:
|
if key.find("%s_%s" % (flag, salt)) >= 0:
|
||||||
return True, "Correct!"
|
return True, "Correct!"
|
||||||
return False, "Nope."
|
return False, "Nope."
|
||||||
|
|
Loading…
Reference in a new issue