summaryrefslogtreecommitdiff
path: root/choose_rounds.py
diff options
context:
space:
mode:
Diffstat (limited to 'choose_rounds.py')
-rw-r--r--choose_rounds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/choose_rounds.py b/choose_rounds.py
index 43c4502..e8607e9 100644
--- a/choose_rounds.py
+++ b/choose_rounds.py
@@ -103,7 +103,7 @@ def main(*args):
"""estimate speed using specified # of rounds"""
# time a single verify() call
secret = "S0m3-S3Kr1T"
- hash = hasher.encrypt(secret, rounds=rounds)
+ hash = hasher.hash(secret, rounds=rounds)
def helper():
start = tick()
hasher.verify(secret, hash)