HmacBlake2s

Trait HmacBlake2s 

Source
pub trait HmacBlake2s: CryptoClient {
    // Provided methods
    fn hmacblake2s_derive_key(
        &mut self,
        base_key: KeyId,
        message: &[u8],
        persistence: Location,
    ) -> ClientResult<'_, DeriveKey, Self> { ... }
    fn sign_hmacblake2s<'c>(
        &'c mut self,
        key: KeyId,
        message: &[u8],
    ) -> ClientResult<'c, Sign, Self> { ... }
}
Available on crate features crypto-client and hmac-blake2s only.

Provided Methods§

Source

fn hmacblake2s_derive_key( &mut self, base_key: KeyId, message: &[u8], persistence: Location, ) -> ClientResult<'_, DeriveKey, Self>

Source

fn sign_hmacblake2s<'c>( &'c mut self, key: KeyId, message: &[u8], ) -> ClientResult<'c, Sign, Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§