jenkins96

1.0.1 • Public • Published

Jenkins96

This package provides an implementation of the Jenkins96 hashing algorithm (by Robert John Jenkins Junior) for node.js

Disclaimer

  • This was built to produce the same hashes used by World of Warcraft, may differ from spec.
  • This does not perform fast. Do not use in important/time-sensitive environments.
  • The code is not optimal at all; feel free to contribute improvements!

Dependancies

  • ES6 Support (Node 6+)
  • long - Used for computing the 64-bit output hash.
  • int32 - Allows native int32 usage in Node for overflowing.

Installing

npm install jenkins96

Usage

const jenkins96 = require('jenkins96');
 
jenkins96('Earth, wind and fire; heed my call!');
// -> 5429095822829162652

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i jenkins96

    Weekly Downloads

    0

    Version

    1.0.1

    License

    ISC

    Last publish

    Collaborators

    • kruithne