quick-hash

Murmur hash optimized for performance, not collision avoidance.

Usage no npm install needed!

<script type="module">
  import quickHash from 'https://cdn.skypack.dev/quick-hash';
</script>

README

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'