reduce rounds

This commit is contained in:
Lynne Megido 2019-09-01 17:17:07 +10:00
parent 3781a04965
commit 8cda8b371c

View File

@ -77,7 +77,7 @@ def do_signup():
user_id = hashlib.sha256(request.form['email'].encode('utf-8')).digest()
pw_hashed = hashlib.sha256(request.form['password'].encode('utf-8')).digest()
pw = bcrypt.hashpw(pw_hashed, bcrypt.gensalt(16))
pw = bcrypt.hashpw(pw_hashed, bcrypt.gensalt(12))
# try to sign up
c = mysql.connection.cursor()