Implementation of XXTEA (Corrected Block TEA) digester.
XXTEA is a corrected version of XTEA with a fixed block size of 64 bits and a simpler key schedule. It is designed to be more resistant against certain types of attacks compared to XTEA.
Decrypts the given byte array data using XXTEA algorithm.
Encrypts the given byte array data using XXTEA algorithm.
import tern.digest.tea; ubyte[] data = [1, 2, 3, 4, 5]; string key = "my_secret_key"; XXTEA.encrypt(data, key);
See Implementation
Implementation of XXTEA (Corrected Block TEA) digester.
XXTEA is a corrected version of XTEA with a fixed block size of 64 bits and a simpler key schedule. It is designed to be more resistant against certain types of attacks compared to XTEA.