frontend now generates two scrypt hashes with different salts - one for verification and one for encryption. Lowered complexity to half to not affect frontend performance.

This commit is contained in:
azivner
2017-09-08 20:55:24 -04:00
parent aebcabf77d
commit 9ba958205d
3 changed files with 35 additions and 23 deletions

View File

@@ -65,7 +65,7 @@ def verify_password(hex_hashed_password, guessed_password):
hashed = scrypt.hash(password=guessed_password,
salt=salt,
N=16384,
r=16,
r=8,
p=1,
buflen=32)