rc_crypto::hmac

Function sign

Source
pub fn sign(key: &SigningKey, data: &[u8]) -> Result<Signature>
Expand description

Calculate the HMAC of data using key.