typing fix

This commit is contained in:
Lex Berezhny 2019-03-11 12:26:24 -04:00
parent d9df2ead84
commit 7979f0a683

View file

@ -121,7 +121,7 @@ def hex_str_to_hash(x):
return reversed(unhexlify(x))
def aes_encrypt(secret: str, value: str, init_vector: bytes = None) -> typing.Tuple[str, bytes]:
def aes_encrypt(secret: str, value: str, init_vector: bytes = None) -> str:
if init_vector is not None:
assert len(init_vector) == 16
else: