pub fn hash(val: &[u8]) -> Hash
Expand description

Return a Sha256 hash for the given data.