

Note: Data must be padded to match a multiple of the block size (16 bytes). def cbc256_decrypt ( data : bytes, key : bytes, iv : bytes ) -> bytes. def cbc256_encrypt ( data : bytes, key : bytes, iv : bytes ) -> bytes. def ctr256_decrypt ( data : bytes, key : bytes, iv : bytes, state : bytes ) -> bytes.

def ctr256_encrypt ( data : bytes, key : bytes, iv : bytes, state : bytes ) -> bytes. def ige256_decrypt ( data : bytes, key : bytes, iv : bytes ) -> bytes. TgCrypto API consists of these six methods: def ige256_encrypt ( data : bytes, key : bytes, iv : bytes ) -> bytes.
