#include <hash_function.hh>
Public Member Functions | |
size_int_t | get_hash (unsigned char *, size_int_t, size_int_t=1) const |
Returns hash key for a given piece of memory. An optional parameter specify a seed or initvalue for the hash function. | |
hash_function_t () | |
Constructor. | |
hash_function_t (hash_functions_t) | |
Constructor. | |
size_int_t | hash_state (state_t, size_int_t=1) const |
Returns hash key for a given state. An optional parameter specify a seed or initvalue for the hash function. | |
void | set_hash_function (hash_functions_t) |
Sets hash function to be used for hashing. | |
~hash_function_t () | |
Destructor. | |
Protected Attributes | |
hash_functions_t | hf_id |