sdbm
Hashes the input string into a whole number.
- Use
String.prototype.split('')
andArray.prototype.reduce()
to create a hash of the input string, utilizing bit shifting.
Hashes the input string into a whole number.
String.prototype.split('')
and Array.prototype.reduce()
to create a hash of the input string, utilizing bit shifting.