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

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

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