hash_value

Function hash_value 

Source
pub fn hash_value<T: Hash>(value: &T) -> u64
Expand description

Hash a single value using the optimized hasher

Convenience function for hashing individual values with the same hasher configuration used throughout ASS-RS.

ยงExample

use ass_core::utils::hashers::hash_value;

let hash = hash_value(&"test string");
let hash2 = hash_value(&42u32);