static UPInt SF_STDCALL BernsteinHashFunctionCIS(const void* pdataIn, UPInt size, UPInt seed = 5381);
BernsteinHashFunctionCIS is a case insensitive Bernstein string hash function and computes hash. The input data is converted to lowercase before computing the hash.
Parameters |
Description |
const void* pdataIn |
Pointer to the string. The string will always be interpreted as a byte data array. |
UPInt size |
Number of bytes to be used in creating the hash. This should always be less than the number of bytes in the string. |
UPInt seed = 5381 |
Set to 5381 by default. |
The hash value.