encrypt_update Method
Encrypts the next block of data.
Syntax
def encrypt_update(buffer: bytes) -> bytes: ...
Remarks
Use this method to encrypt the next block of data contained in Buffer.
Call this method after calling encrypt_init for as many times as needed, until the wholevolume of data is processed. Having done that, call encrypt_final to complete the encryptionand get the terminating encrypted trailer.