Class: HashUtils
Defined in: utils/HashUtils.ts:2
Utility methods for non-cryptographic hashing
Constructors
Constructor
new HashUtils():
HashUtils
Returns
HashUtils
Methods
djb2()
staticdjb2(str):number
Defined in: utils/HashUtils.ts:11
Computes the djb2 hash of a string
Returns a non-negative 32-bit integer.
Parameters
str
string
The string to hash
Returns
number