ic_representation_independent_hash

Function hash

Source
pub fn hash(data: &[u8]) -> Sha256Digest
Expand description

Calculates the SHA-256 hash of the given slice.