Crate omango_wyhash

source ·
Expand description

The implementation is based on the Wang Yi hash final version 4.2.

Source: ‘https://github.com/wangyi-fudan/wyhash/blob/master/wyhash.h

Structs§

Functions§

  • A useful 64bit-64bit mix function to produce deterministic pseudo random numbers that can pass BigCrush and PractRand.
  • Make your own secret.
  • rand
    The rand PRNG that pass BigCrush and PractRand.
  • Convert any 64-bit pseudo random numbers to APPROXIMATE Gaussian distribution. It can be combined with rand, hash64 or hash.
  • Fast range integer random number generation on [0,k) credit to Daniel Lemire. It can be combined with rand, hash64 or hash.
  • Convert any 64-bit pseudo random numbers to uniform distribution [0,1). It can be combined with rand, hash64 or hash.