Function sodiumoxide::crypto::onetimeauth::poly1305::authenticate [−][src]
pub fn authenticate(m: &[u8], k: &Key) -> Tag
Expand description
authenticate()
authenticates a message m
using a secret key k
.
The function returns an authenticator tag.