encrypt_block Method
Encrypts data and returns the encrypted block.
Syntax
def encrypt_block(input_buffer: bytes, last_block: bool) -> bytes: ...
Remarks
This method will encrypt the input data and return the encrypted block.
InputBuffer specifies the input data to encrypt.
LastBlock specifies whether the block is the last block.