Expand description
A deterministic HashMap for tally oracle programs without random hashing.
The standard std::collections::HashMap relies on randomized seeds, which are disallowed in tally
oracle programs. This module provides DeterministicHasher and a HashMap alias
that guarantees consistent, reproducible hashes without any randomness.
Structs§
- Deterministic
Hasher - A hasher that always produces deterministic outputs by wrapping
DefaultHasher.
Type Aliases§
- HashMap
- A
HashMaptype alias usingDeterministicHasherto ensure consistent hash values.