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

@@ -18,7 +18,7 @@ if password1 == password2:
hashed = scrypt.hash(password=password1,
salt=salt,
N=16384,
r=16,
r=8,
p=1,
buflen=32)