Spelling and grammar fixes (#499)

This commit is contained in:
Ville Skyttä
2018-06-08 22:32:06 +03:00
committed by Pascal Vizeli
parent 41943ba61a
commit e2725f8033
20 changed files with 36 additions and 36 deletions

View File

@@ -25,7 +25,7 @@ def password_for_validating(password):
def key_to_iv(key):
"""Generate a iv from Key."""
"""Generate an iv from Key."""
for _ in range(100):
key = hashlib.sha256(key).digest()
return key[:16]