HIGHT

Implementation of HIGHT digester.

HIGHT is a lightweight block cipher designed for low-resource environments. It operates by encrypting or decrypting data using a 128-bit key and 64-bit blocks.

Members

Static functions

decrypt
void decrypt(ubyte[] data, string key)

Decrypts the given data using the HIGHT algorithm with the specified key.

encrypt
void encrypt(ubyte[] data, string key)

Encrypts the given data using the HIGHT algorithm with the specified key.

Examples

import tern.digest.hight;

ubyte[] data = [1, 2, 3, 4, 5, 6, 7, 8];
string key = "1234567890123456";
HIGHT.encrypt(data, key);

Meta