Thanks to visit codestin.com
Credit goes to github.com

Skip to content

awxkee/mm3h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Murmur3Hasher

A Rust implementation of MurmurHash3 with platform-specific SIMD optimizations (NEON, AVX2, SSE2). This crate provides a Hasher compatible struct that can be used with Rust's hashing APIs.

use mm3h::Murmur3Hasher;
use std::hash::Hasher;

fn main() {
    let mut hasher = Murmur3Hasher::new_with_seed(42);

    let data = b"Hash me!";
    hasher.write(data);

    let hash_value = hasher.finish();
    println!("Hash: {}", hash_value);
}

This project is licensed under either of

  • BSD-3-Clause License (see LICENSE)
  • Apache License, Version 2.0 (see LICENSE)

at your option.

About

Murmur3 hash in Rust

Resources

License

BSD-3-Clause, Apache-2.0 licenses found

Licenses found

BSD-3-Clause
LICENSE.md
Apache-2.0
LICENSE-APACHE.md

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages