OPENSSL_LH_strhash

Hash a NUL-terminated C string for use as an LHASH hash function.

Synopsis

Declared in <openssl/lhash.h>

unsigned long
OPENSSL_LH_strhash(char const* c);

Return Value

Hash value.

Parameters

NameDescription
cString to hash; NULL is treated as empty.