mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-09 02:49:43 +00:00
Spelling and grammar fixes (#499)
This commit is contained in:
committed by
Pascal Vizeli
parent
41943ba61a
commit
e2725f8033
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user