9bf3b53533
SipHash appears to be the new gold standard for hashing smaller strings for hashtables these days, so let's make use of it.
7 lines
143 B
C
7 lines
143 B
C
#pragma once
|
|
|
|
#include <inttypes.h>
|
|
#include <sys/types.h>
|
|
|
|
void siphash24(uint8_t out[8], const void *in, size_t inlen, const uint8_t k[16]);
|