Expand description
Hash function utilities for consistent performance across platforms
Provides ahash-based hashers optimized for ASS-RS use cases with DoS resistance
and consistent performance across platforms including WASM.
§Features
- DoS-resistant hashing via ahash with random seeds
- WASM-compatible implementation
no_stdsupport when needed- Deterministic hashing for testing when enabled
Structs§
- Hash
Config - Configuration for hash-related performance tuning
Functions§
- create_
hash_ map - Create a new
HashMapwith optimized hasher for ASS-RS use cases - create_
hash_ map_ with_ capacity - Create a new
HashMapwith specific capacity and optimized hasher - create_
hasher - Create a hasher instance for manual hashing operations
- hash_
value - Hash a single value using the optimized hasher