Function hacl::hazmat::sha2::sha256

source ยท
pub fn sha256(payload: &[u8]) -> [u8; 32]
Expand description

SHA2 256

Note the function panics when payload is larger than 2^32 bytes.