# xor_hasher
`xor_hasher` is a library that provides very simple Hasher objects that XOR input data without using a hash function. They are intended to improve the performance of hash-based data structures when the input keys to be hashed are not user-controlled and are already highly randomized (e.g. SHA256 hashes).
## Features
Features enabled by default:
- `std`: Exports `XorHashMap` and `XorHashSet` type aliases that use this crate's hashers.
- `getrandom`: Enables seeding the hashers from `getrandom` randomness, as well as a `Default` impl for this crate's hashers.
- `rand_core`: Enables seeding the hashers from `rand_core` RNG types.
Features not enabled by default:
- `heapless`: Exports `XorIndexMap` and `XorIndexSet` type aliases that use this crate's hashers.