
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
int32-fnv1a
Advanced tools
A 32 bit FNV-1a hash algorithm implementation that takes an Int32 as an input.
A 32 bit FNV-1a hash algorithm implementation for hashing Int32 values (rather than Strings).
The output it's also a Int32.
var assert = require('assert');
var hash = require('int32-fnv1a'),
assert.ok(
hash(0xe04d9fcb) === 0,
'The hash did not return the expected value'
);
/**
* If you are wondering why the result of this is 0
* visit this page: http://isthe.com/chongo/tech/comp/fnv/
* and look for the following text: `FNV32_1a(e0 4d 9f cb)`
*/
With npm:
npm install --save int32-fnv1a
With git:
git clone git://github.com/josepot/int32-fnv1a.git
FAQs
A 32 bit FNV-1a hash algorithm implementation that takes an Int32 as an input.
We found that int32-fnv1a demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.