pub fn new_hmac_sha512<K: AsRef<[u8]>>(key: K) -> HmacSha512
Available on crate feature
sha2
only.Expand description
Creates HMAC using the SHA-512 algorithm.
ยงPanics
HMAC accepts any key length, which means this function will not panic.