miniproto.crypto.mtproto.EncryptedPayload
miniproto.crypto.mtproto.EncryptedPayload
Section titled “miniproto.crypto.mtproto.EncryptedPayload”EncryptedPayload(auth_key_id: bytes, msg_key: bytes, ciphertext: bytes) -> NoneMTProto payload components produced by :func:encrypt_payload.
Attributes:
- auth_key_id (
bytes) – The trailing eight bytes of SHA-1 over the 256-byte auth key. - msg_key (
bytes) – The 16-byte direction-dependent MTProto message key. - ciphertext (
bytes) – AES-256-IGE ciphertext for the padded plaintext.