Skip to main content

hash_sha256

Function hash_sha256 

Source
pub fn hash_sha256(data: &[u8]) -> [u8; 32]
Expand description

Compute the SHA-256 hash of the given data. Returns 32 bytes.