class documentation

class _AES_CTR:

Constructor: _AES_CTR(key, iv)

View In Hierarchy

AES in Counter mode. Tries native CTR (mode 6) first, falls back to manual CTR built on ECB.

Method __init__ Undocumented
Method process Encrypt or decrypt data (XOR with AES-CTR keystream)
Method _inc_counter Increment 128-bit big-endian counter by 1
Instance Variable _aes Undocumented
Instance Variable _buf Undocumented
Instance Variable _ctr Undocumented
Instance Variable _ecb Undocumented
Instance Variable _native Undocumented
Instance Variable _pos Undocumented
def __init__(self, key, iv):

Undocumented

def process(self, data):

Encrypt or decrypt data (XOR with AES-CTR keystream)

def _inc_counter(self):

Increment 128-bit big-endian counter by 1

_aes =

Undocumented

_buf =

Undocumented

_ctr =

Undocumented

_ecb =

Undocumented

_native: bool =

Undocumented

_pos: int =

Undocumented