meow_hash module

MeowHash

procedureSource

Hashes Len bytes at Source with Seed in one call, leaving the 128-bit result in the register h0. Read it with MeowU64From or MeowU32From. Needs an x64 CPU with AES-NI.

Example
data := "meow";
#asm { pxor hash:, hash; }
MeowHash(MeowDefaultSeed, data.count, data.data, hash);
low := MeowU64From(hash, 0);

Not run: the example is marked ignore.

MeowHash :: (Seed: [128] u8, Len: u64, Source: *void, h0: reg)

Parameters

Seed: [128] u8
Len: u64
Source: *void
h0: reg

See also