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);
34
#ifdef HAVE_HSIEH_HASH
36
uint32_t hashkit_hsieh(const char *key, size_t key_length);
39
uint32_t hashkit_murmur(const char *key, size_t key_length);
41
uint32_t hashkit_jenkins(const char *key, size_t key_length);
43
uint32_t hashkit_md5(const char *key, size_t key_length);
49
#endif /* HASHKIT_ALGORITHM_H */