algorithm Property
The TEA algorithm.
Syntax
def get_algorithm() -> int: ... def set_algorithm(value: int) -> None: ...
algorithm = property(get_algorithm, set_algorithm)
Default Value
0
Remarks
This property specifies the TEA algorithm to use. It is recommended to use the XXTEA (Corrected Block TEA) algorithm for security reasons. Possible values are:
0 (taXXTEA - default) | Correct Block TEA |
1 (taXTEA) | eXtended TEA |
2 (taTEA) | TEA (Tiny Encryption Algorithm) |