use_hex Property
Whether input or output is hex encoded.
Syntax
def get_use_hex() -> bool: ... def set_use_hex(value: bool) -> None: ...
use_hex = property(get_use_hex, set_use_hex)
Default Value
FALSE
Remarks
This property specifies whether the encrypted data is hex encoded.
If set to True, when protect is called the class will perform the encryption as normal and then hex encode the output. output_message or output_file will hold hex encoded data.
If set to True, when unprotect is called the class will expect input_message or input_file to hold hex encoded data. The class will then hex decode the data and perform decryption as normal.