Don't use kwargs

This commit is contained in:
Dan 2018-03-17 14:29:23 +01:00
parent 6fd8b582b2
commit 6c20661686

View File

@ -53,7 +53,7 @@ class AES:
@staticmethod
def ctr_decrypt(data: bytes, key: bytes, iv: bytes, offset: int) -> bytes:
replace = int.to_bytes(offset // 16, byteorder="big", length=4)
replace = int.to_bytes(offset // 16, 4, "big")
iv = iv[:-4] + replace
if is_fast: