Crate autobahn_hash
source ·Expand description
A pure Rust implementation of HighwayHash.
A few highlights:
- No
unsafe
- Fuzzed against the reference implementation
- Minimal crate with few required dependencies
- Portable to any SIMD instruction set (and reasonably fast without SIMD)
This crate requires the portable_simd
nightly feature.
There are two optional features:
std
: enablesRandomState
multiversion
: enableshash_64
and friends, which select the optimal instruction set at runtime- Adds the
multiversion
crate as a dependency - Also enables the
std
feature
- Adds the
Structs
- A hash instance.
- RandomState
std
BuildAutobahnHasher
s with random keys.