6 Various hash functions to use for calculating values for keys
14 C Library for hashing algorithms (libmemcached, -lhashkit)
25 #include <libmemcached/hashkit.h>
27 uint32_t hashkit_default(const char *key, size_t key_length);
28 uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
29 uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
30 uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
31 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 uint32_t hashkit_hsieh(const char *key, size_t key_length);
34 uint32_t hashkit_murmur(const char *key, size_t key_length);
35 uint32_t hashkit_jenkins(const char *key, size_t key_length);
36 uint32_t hashkit_md5(const char *key, size_t key_length);
45 These functions generate hash values from a key using a variety of
46 algorithms. These functions can be used standalone, or as arguments
47 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
49 The hashkit_hsieh() is only available if the library is built with
50 the appropriate flag enabled.
66 To find out more information please check:
67 `http://libmemcached.org/ <http://libmemcached.org/>`_
75 hashkit_create(3) hashkit_value(3) hashkit_set_hash_fn(3)
76 hashkit_set_continuum_hash_fn(3)