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
21 uint32_t libhashkit_one_at_a_time(const char *key
, size_t key_length
);
24 uint32_t libhashkit_fnv1_64(const char *key
, size_t key_length
);
27 uint32_t libhashkit_fnv1a_64(const char *key
, size_t key_length
);
30 uint32_t libhashkit_fnv1_32(const char *key
, size_t key_length
);
33 uint32_t libhashkit_fnv1a_32(const char *key
, size_t key_length
);
36 uint32_t libhashkit_crc32(const char *key
, size_t key_length
);
39 uint32_t libhashkit_hsieh(const char *key
, size_t key_length
);
42 uint32_t libhashkit_murmur(const char *key
, size_t key_length
);
45 uint32_t libhashkit_jenkins(const char *key
, size_t key_length
);
48 uint32_t libhashkit_md5(const char *key
, size_t key_length
);
51 uint32_t hashkit_one_at_a_time(const char *key
, size_t key_length
, void *context
);
54 uint32_t hashkit_fnv1_64(const char *key
, size_t key_length
, void *context
);
57 uint32_t hashkit_fnv1a_64(const char *key
, size_t key_length
, void *context
);
60 uint32_t hashkit_fnv1_32(const char *key
, size_t key_length
, void *context
);
63 uint32_t hashkit_fnv1a_32(const char *key
, size_t key_length
, void *context
);
66 uint32_t hashkit_crc32(const char *key
, size_t key_length
, void *context
);
69 uint32_t hashkit_hsieh(const char *key
, size_t key_length
, void *context
);
72 uint32_t hashkit_murmur(const char *key
, size_t key_length
, void *context
);
75 uint32_t hashkit_jenkins(const char *key
, size_t key_length
, void *context
);
78 uint32_t hashkit_md5(const char *key
, size_t key_length
, void *context
);
81 void libhashkit_md5_signature(const unsigned char *key
, size_t length
, unsigned char *result
);