SDK Hash API documentation

<dmsdk/dlib/hash.h>

Hash functions.

FUNCTION
dmHashBuffer64()

calculate 64-bit hash value from buffer

dmHashString64()

calculate 64-bit hash value from string

Functions

dmHashBuffer64()

dmHashBuffer64(buffer,buffer_len)

PARAMETERS

buffer

const void* Buffer

buffer_len

uint32_t Length of buffer

RETURNS

hash

uint64_t hash value


dmHashString64()

dmHashString64(string)

PARAMETERS

string

const char* Null terminated string

RETURNS

hash

uint64_t hash value