diff --git a/pyjiit/encryption.py b/pyjiit/encryption.py index 22f341a..094917e 100644 --- a/pyjiit/encryption.py +++ b/pyjiit/encryption.py @@ -28,7 +28,7 @@ def encrypt(data: bytes) -> bytes: crypt = get_crypt(generate_key(), IV) return crypt.encrypt(pad(data, 16)) -def deserialize_payload(payload: str, is_json=False) -> dict | str: +def deserialize_payload(payload: str) -> dict | str: """Returns decrypted json from payload""" pbytes = base64.b64decode(payload) raw = decrypt(pbytes)