DJB2a non-cryptographic hash function
DJB2a has good distribution and collisions are rare.
$ npm install djb2a
const djb2a = require('djb2a'); djb2a('🦄🌈'); //=> 1484783307
It returns the hash as a positive integer.
MIT © Sindre Sorhus
GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — GitHub - SuperGall/djb2a: DJB2a non-cryptographic hash function Folders and filesRepository files navigation
DJB2a has good distribution and collisions are rare. const djb2a = require('djb2a'); djb2a('🦄🌈'); //=> 1484783307 It returns the hash as a positive integer. MIT © Sindre Sorhus AboutDJB2a non-cryptographic hash function ResourcesReleasesPackagesContributorsLanguages |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |