Skip to main content

verify

Function verify 

Source
pub fn verify(key: &[u8], message: &[u8], mac: &[u8]) -> bool
Expand description

Whether mac is the HMAC-SHA256 of message under key, compared in constant time.