SuperFastHash

Implementation of SuperFastHash digester.

SuperFastHash is a non-cryptographic hash function designed for fast hash calculations on small data blocks. It is commonly used in applications where speed is critical.

static
@digester
class SuperFastHash {}

Members

Static functions

hash
ubyte[] hash(ubyte[] data)

Computes the SuperFastHash digest of the given data.

Examples

import tern.digest.superfasthash;

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

Meta