adler32 — returns an adler32 hash of the buffer provided.
#include "libc/include/crypto/adler32.h"
uint32_t adler32(const char *key);The adler32() function takes a const char * and returns a hashed version of its input.
The adler32() function returns an uint_32_t.
uint64_t first = fnv("Hello"); // 7201466553693376363UL;
uint64_t second = fnv("hello"); // 11831194018420276491UL;See GitHub Issues: https://github.com/takashiidobe/libc/issues
Takashi Idobe mail@takashiidobe.com