2 * Copyright (C) 2009 Brian Aker
5 * Use and distribution licensed under the BSD license. See
6 * the COPYING file in the parent directory for full text.
11 * @brief HashKit Header
14 #ifndef HASHKIT_ALGORITHM_H
15 #define HASHKIT_ALGORITHM_H
22 uint32_t hashkit_default(const char *key
, size_t key_length
);
24 uint32_t hashkit_fnv1_64(const char *key
, size_t key_length
);
26 uint32_t hashkit_fnv1a_64(const char *key
, size_t key_length
);
28 uint32_t hashkit_fnv1_32(const char *key
, size_t key_length
);
30 uint32_t hashkit_fnv1a_32(const char *key
, size_t key_length
);
32 uint32_t hashkit_crc32(const char *key
, size_t key_length
);
33 #ifdef HAVE_HSIEH_HASH
35 uint32_t hashkit_hsieh(const char *key
, size_t key_length
);
38 uint32_t hashkit_murmur(const char *key
, size_t key_length
);
40 uint32_t hashkit_jenkins(const char *key
, size_t key_length
);
42 uint32_t hashkit_md5(const char *key
, size_t key_length
);
48 #endif /* HASHKIT_ALGORITHM_H */