hmac_sha512

Function hmac_sha512 

Source
pub fn hmac_sha512(key: &[u8], text: &[u8]) -> [u8; 64]
Expand description

Compute HMAC-SHA512

§Arguments

  • key - The secret key (can be any length)
  • text - The message to authenticate

§Returns

A 64-byte HMAC-SHA512 value