SDBM non-cryptographic hash function
SDBM has good distribution and collisions are rare.
$ npm install sdbm
import sdbm from 'sdbm';
sdbm('🦄🌈');
//=> 4053542802
It returns the hash as a positive integer.
SDBM non-cryptographic hash function
SDBM has good distribution and collisions are rare.
$ npm install sdbm
import sdbm from 'sdbm';
sdbm('🦄🌈');
//=> 4053542802
It returns the hash as a positive integer.