mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user