This crate provides wrappers for Hasher
that change the endianness
used when hashing primitive numeric types.
Installation
This crate works with Cargo and is on
crates.io. Add it to your Cargo.toml
with:
[]
= "0.1"
Use the crate like:
extern crate endian_hasher;
use ;
use ;
let mut h1 = HasherToLE;
-3i64.hash;
h1.finish