Gimli

Implementation of Gimli digester.

Gimli is a cryptographic permutation designed for speed and security. It operates by applying a series of operations to the input data, including bitwise XOR, addition, and rotation.

static
@digester
class Gimli {}

Members

Static functions

hash
ubyte[] hash(ubyte[] data)

Computes the Gimli hash digest of the given data.

Examples

import tern.digest.gimli;

ubyte[] data = [1, 2, 3, 4, 5];
auto hashValue = Gimli.hash(data);

Meta