murmur

MurmurHash in pure Nim.

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-08-30 07:10

Tags

Installation

nimble install murmur
choosenim install murmur
git clone https://github.com/olahol/nimrod-murmur/

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
murmur - - - - - - -

Source

Repository https://github.com/olahol/nimrod-murmur/
Homepage https://github.com/olahol/nimrod-murmur
Registry Source nimble_official

README

nimrod-murmur

MurmurHash algorithm in pure nimrod.

Install

$ babel install murmur

Example

import murmur

echo(murmur.hash("digest this text", 0xbadc0ffee'i32))
# => 2419875762

Documentation

hash(key: string, seed: int32 = 0): uint32

Compute the murmur hash of key with seed seed.

Acknowledgements

This module is a port of murmurhash-js.