Function hash

Source
pub fn hash<T>(data: impl Hashable) -> T::Digest
where T: Hash,
Expand description

Computes the hash of the given input.