pub trait HmacKey {
type Signature: Signature;
type Error;
// Required method
fn sign(&self, bytes: &[u8]) -> Result<Self::Signature, Self::Error>;
}
Available on crate feature
ring
only.Expand description
An Hmac
key.