5 .. index:: object: hashkit_st
7 Various hash functions to use for calculating values for keys
14 #include <libhashkit/hashkit.h>
16 .. c:function:: uint32_t hashkit_default(const char *key, size_t key_length);
18 .. c:function:: uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
20 .. c:function:: uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
22 .. c:function:: uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
24 .. c:function:: uint32_t hashkit_fnv1a_32(const char *key, size_t key_length);
26 .. c:function:: uint32_t hashkit_crc32(const char *key, size_t key_length);
28 .. c:function:: uint32_t hashkit_hsieh(const char *key, size_t key_length);
30 .. c:function:: uint32_t hashkit_murmur(const char *key, size_t key_length);
32 .. c:function:: uint32_t hashkit_jenkins(const char *key, size_t key_length);
34 .. c:function:: uint32_t hashkit_md5(const char *key, size_t key_length);
36 Compile and link with -lhashkit
44 These functions generate hash values from a key using a variety of
45 algorithms. These functions can be used standalone, or as arguments
46 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
48 The hashkit_hsieh() is only available if the library is built with
49 the appropriate flag enabled.
65 To find out more information please check:
66 `http://libmemcached.org/ <http://libmemcached.org/>`_
74 :manpage:`hashkit_create(3)` :manpage:`hashkit_value(3)` :manpage:`hashkit_set_hash_fn(3)` :manpage:`hashkit_set_continuum_hash_fn(3)`