mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-07 00:36:13 +02:00
Converts tests to YAML
This commit is contained in:
parent
79f87abd76
commit
be009b08b4
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