diff --git a/lib/hashing_passwords.py b/lib/hashing_passwords.py index 4540db75..beea1e85 100644 --- a/lib/hashing_passwords.py +++ b/lib/hashing_passwords.py @@ -16,7 +16,6 @@ """ -import hashlib from os import urandom from base64 import b64encode, b64decode from hashlib import pbkdf2_hmac @@ -30,7 +29,7 @@ HASH_FUNCTION = 'sha256' # Must be in hashlib. # Linear to the hashing time. Adjust to be high but take a reasonable # amount of time on your server. Measure with: # python -m timeit -s 'import passwords as p' 'p.make_hash("something")' -COST_FACTOR = 10000 +COST_FACTOR = 600000 def make_hash(password):