Skip to main content

HmacMd5

Trait HmacMd5 

Source
pub trait HmacMd5 {
    // Required method
    fn set_mode_hmacmd5(&self, key: &[u8]) -> Result<(), ErrorCode>;
}

Required Methods§

Source

fn set_mode_hmacmd5(&self, key: &[u8]) -> Result<(), ErrorCode>

Call before adding data to perform HMACMd5

The key used for the HMAC is passed to this function.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§