Function sodiumoxide::crypto::auth::hmacsha512::verify [−][src]
pub fn verify(tag: &Tag, m: &[u8], k: &Key) -> bool
Expand description
verify()
returns true
if tag
is a correct authenticator of message m
under a secret key k
. Otherwise it returns false.