Hashing and Checksum Functions module

Contents

Several hashing methods used by ZPL internally but possibly useful outside of it. Contains: adler32, crc32/64, fnv32/64/a and murmur32/64

Functions

auto zpl_adler32(void const* data, zpl_isize len) -> zpl_u32
auto zpl_crc32(void const* data, zpl_isize len) -> zpl_u32
auto zpl_crc64(void const* data, zpl_isize len) -> zpl_u64
auto zpl_fnv32(void const* data, zpl_isize len) -> zpl_u32
auto zpl_fnv64(void const* data, zpl_isize len) -> zpl_u64
auto zpl_fnv32a(void const* data, zpl_isize len) -> zpl_u32
auto zpl_fnv64a(void const* data, zpl_isize len) -> zpl_u64
auto zpl_murmur32(void const* data, zpl_isize len) -> zpl_u32
Default seed of 0x9747b28c.
auto zpl_murmur64(void const* data, zpl_isize len) -> zpl_u64
Default seed of 0x9747b28c.
auto zpl_murmur32_seed(void const* data, zpl_isize len, zpl_u32 seed) -> zpl_u32
auto zpl_murmur64_seed(void const* data, zpl_isize len, zpl_u64 seed) -> zpl_u64