mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +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:
@@ -18,7 +18,7 @@ if password1 == password2:
|
||||
hashed = scrypt.hash(password=password1,
|
||||
salt=salt,
|
||||
N=16384,
|
||||
r=16,
|
||||
r=8,
|
||||
p=1,
|
||||
buflen=32)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user