Trait cypher::HmacDigest

source ·
pub trait HmacDigest<D: Digest>: Digest {
    // Required method
    fn with_key(key: impl AsRef<[u8]>) -> Self;
}

Required Methods§

source

fn with_key(key: impl AsRef<[u8]>) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<D: Digest> HmacDigest<D> for Hmac<D>