Function sodiumoxide::crypto::auth::hmacsha256::authenticate [] [src]

pub fn authenticate(m: &[u8], Key: &Key) -> Tag

authenticate() authenticates a message m using a secret key k. The function returns an authenticator tag.