Function hmac_sha256

Source
pub fn hmac_sha256<K: AsRef<[u8]>, D: AsRef<[u8]>>(key: K, data: D) -> Vec<u8> 
Available on crate feature sha2 only.
Expand description

Computes the HMAC using the SHA-256 algorithm.