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