This is a Rust implementation of the wyhash algorithm by Wang Yi. The generated hashes are equal (see tests).
no_std
mode is activated by setting default-features = false;
```rust extern crate wyhash; use wyhash::WyHash; use std::hash::Hasher;
fn main() {
let mut hasher = WyHash::withseed(1);
hasher.write(&[0]);
asserteq!(0xcb4b8ebdf7240e2c, hasher.finish());
}
```
For questions, issues, feature requests, and other changes, please file an issue in the github project.
Licensed under
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.