Converts tests to YAML

This commit is contained in:
Manuel Ebert 2014-09-12 15:28:12 -07:00
parent 79f87abd76
commit be009b08b4
28 changed files with 136 additions and 158 deletions

View file

@ -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)