4 releases
0.1.3 | Apr 17, 2024 |
---|---|
0.1.2 | Mar 28, 2024 |
0.1.1 | Mar 28, 2024 |
0.1.0 | Mar 27, 2024 |
#991 in Algorithms
21KB
457 lines
omango-wyhash
The WyHash current crates have been from 3 years ago. It is old version.
This is the newest version of Wang Yi hash.
Version final-4.2
Table of Contents
Introduction
It provides
-
hash.
-
PRNG that pass BigCrush and PractRand.
-
APPROXIMATE Gaussian distribution.
-
Fast range integer RNG on [0,k) credit to Daniel Lemire.
Usage
Add this to your Cargo.toml
:
[dependencies]
omango-wyhash = "0.1.3"
Compatibility
The minimum supported Rust version is 1.57
.
License
The crate is licensed under the terms of the MIT license. See LICENSE for more information.
Reference
lib.rs
:
The implementation is based on the Wang Yi hash final version 4.2.
Source: 'https://github.com/wangyi-fudan/wyhash/blob/master/wyhash.h'
Dependencies
~36KB