Function ic_representation_independent_hash::hash
source · pub fn hash(data: &[u8]) -> Sha256Digest
Expand description
Calculates the SHA-256 hash of the given slice.
pub fn hash(data: &[u8]) -> Sha256Digest
Calculates the SHA-256 hash of the given slice.