mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 14:06:14 +02:00
Converts tests to YAML
This commit is contained in:
parent
0a19701ae9
commit
e75e3d73a0
28 changed files with 136 additions and 158 deletions
|
@ -5,7 +5,7 @@ from passlib.hash import pbkdf2_sha256
|
|||
|
||||
|
||||
def make_key(password):
|
||||
derived_key = pbkdf2_sha256.encrypt(password.encode("utf-8"), rounds=10000, salt_size=16)
|
||||
derived_key = pbkdf2_sha256.encrypt(password.encode("utf-8"), rounds=10000, salt_size=32)
|
||||
return base64.urlsafe_b64encode(derived_key)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue