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

Calculates the SHA-256 hash of the given slice.