Crate gxhash

Source

Structs§

GxBuildHasher
A builder for building GxHasher with randomized seeds by default, for improved DOS resistance.
GxHasher
A Hasher for hashing an arbitrary stream of bytes.

Traits§

HashMapExt
A convenience trait that can be used together with the type aliases defined to get access to the new() and with_capacity() methods for the HashMap type alias.
HashSetExt
A convenience trait that can be used together with the type aliases defined to get access to the new() and with_capacity() methods for the HashSet type alias.

Functions§

gxhash32
Hashes an arbitrary stream of bytes to an u32.
gxhash64
Hashes an arbitrary stream of bytes to an u64.
gxhash128
Hashes an arbitrary stream of bytes to an u128.

Type Aliases§

HashMap
A HashMap using a (DOS-resistant) GxBuildHasher.
HashSet
A HashSet using a (DOS-resistant) GxBuildHasher.