Skip to content

Murmur hash optimized for performance, not collision avoidance

License

Notifications You must be signed in to change notification settings

vigour-io/quick-hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quick-hash

Build Status js-standard-style npm version Coverage Status

var hashOfKey = quickHash(key, seed)

Murmur hash optimized for performance, not collision avoidance.

  • key (string) - the string to hash
  • seed (number) - a seed for hashing
  • returns (string) hashOfKey - A string of 5 to 7 alpha-numeric characters
var hash = require('vigour-util/hash')
hash('Any sting in the world!!!') // '16hck72'

About

Murmur hash optimized for performance, not collision avoidance

Resources

License

Stars

Watchers

Forks

Packages

No packages published