tlx
hash_djb2.hpp File Reference
#include <string>

Go to the source code of this file.

Namespaces

 tlx
 

Functions

static uint32_t hash_djb2 (const unsigned char *str)
 Simple, fast, but "insecure" string hash method by Dan Bernstein from http://www.cse.yorku.ca/~oz/hash.html. More...
 
static uint32_t hash_djb2 (const char *str)
 Simple, fast, but "insecure" string hash method by Dan Bernstein from http://www.cse.yorku.ca/~oz/hash.html. More...
 
static uint32_t hash_djb2 (const unsigned char *str, size_t size)
 Simple, fast, but "insecure" string hash method by Dan Bernstein from http://www.cse.yorku.ca/~oz/hash.html. More...
 
static uint32_t hash_djb2 (const char *str, size_t size)
 Simple, fast, but "insecure" string hash method by Dan Bernstein from http://www.cse.yorku.ca/~oz/hash.html. More...
 
static uint32_t hash_djb2 (const std::string &str)
 Simple, fast, but "insecure" string hash method by Dan Bernstein from http://www.cse.yorku.ca/~oz/hash.html. More...