Crate seedable_hash

source
Expand description

seedable_hash is the Rust library (by Piotr Beling) for calculating seedable hashes and fast reduction of their ranges.

Structs§

Traits§

  • Family of hash functions that allows the creation of Hasher instances initialized with a given seed.

Functions§

  • Maps 16-bit hash to the range [0, n), where n is a 16-bit integer.
  • Maps 32-bit hash to the range [0, n), where n is a 32-bit integer.
  • Maps 64-bit hash to the range [0, n), where n is a 32-bit integer.
  • Maps 64-bit hash to the range [0, n), where n is a 64-bit integer.

Type Aliases§