Function hacl::hazmat::hmac::sha2_256

source ยท
pub fn sha2_256(key: &[u8], data: &[u8]) -> [u8; 32]
Expand description

Compute HMAC.

Note that this function panics if key or data is larger than 2**32 bytes.