From 8cda8b371c9ba0efe5ef7aea03a1f85ed844226a Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 1 Sep 2019 17:17:07 +1000 Subject: [PATCH] reduce rounds --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index 8dfd6ad..f8f3f39 100644 --- a/webui.py +++ b/webui.py @@ -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()