Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cryptools/rsa.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def random_prime(bits):
# - http://inaz2.hatenablog.com/entry/2016/01/15/011138


def low_public_exponent_attack(c, e):
def low_public_exponent_attack(c, n, e):
bound = root(n, e)[0]
m = root(c, e)[0]
return m, bound
Expand Down