encrypt_init Method
Initializes a per-block encryption process.
Syntax
def encrypt_init() -> None: ...
Remarks
Use this method to initialize a block-by-block encryption process. Follow it with calls to encrypt_update (as many as needed), and complete the encryptionwith an encrypt_final call.
Specify the encryption key in key property before calling this method.