Algorithm Property
The TEA algorithm.
Object Oriented Interface
public function getAlgorithm(); public function setAlgorithm($value);
Procedural Interface
ipworksencrypt_tea_get($res, 1 ); ipworksencrypt_tea_set($res, 1, $value );
Default Value
0
Remarks
This property specifies the TEA algorithm to us. 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) |
Data Type
Integer