encrypt_file Method
Encrypts a file.
Syntax
def encrypt_file(source_file: str, dest_file: str) -> None: ...
Remarks
Use this method to encrypt a file and save the protected message in another file.
Specify the encryption key in key property before commencing encryption.