jenkins-hash

1.0.1 • Public • Published

SYNOPSIS

JavaScript port of lookup3.c hash function by Bob Jenkins

http://www.burtleburtle.net/bob/c/lookup3.c

USAGE

var hash = require('./').hashlittle;
hash(new Uint8Array([1, 2, 3]), 0xdeadbeef); // 0x271b32ed

hashlittle(buf, initval = 0)

buf - buffer to hash

initval - any 32bit integer number

return - 32bit hash

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i jenkins-hash

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • iefserge