1.0.1 • Published 5 years ago

murmur3hash-wasm v1.0.1

Weekly downloads
89
License
ISC
Repository
github
Last release
5 years ago

murmur3hash-wasm

Build Status

Murmur3 Hash implemented in hand-written WASM

Usage

var murmur3Hash = require('murmur3hash-wasm')

console.log(murmur3Hash(Buffer.from('Emil'), 0))

API

var hash = murmur3Hash(buf, seed)

Murmur3 hash buf with initial seed. Seed must be a valid 32-bit integer, and buf must be a Buffer or Uint8Array. Returns a 32-bit integer.

Install

npm install murmur3hash-wasm

License

ISC