Socket
Socket
Sign inDemoInstall

string-hash-64

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    string-hash-64

fast 64 bit string hashing function


Version published
Weekly downloads
186K
decreased by-1.02%
Maintainers
1
Install size
2.93 kB
Created
Weekly downloads
 

Readme

Source

string-hash-64

Build Status js-standard-style npm version

An improved version of djb2. Generates 64 bit integer hashes. Returns a number between 0 and 18446744073709552000.

Repository includes test for hashing 65 million strings with zero collisions. That's 400k+ less than what you get with djb2.

Performs as fast as djb2, only the generated hashes will consume almost twice memory in size.

Keywords

FAQs

Last updated on 22 Aug 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc