Struct nettle::mac::Hmac

source · []
pub struct Hmac<H: Hash + NettleHash> { /* private fields */ }
Expand description

Hashed message authentication code.

Implementations

Create a new MAC instance with secret key.

Trait Implementations

Size of the MAC tag i.e. the signature in bytes.

Add data to be signed.

Produce the MAC tag digest for all data fed via update(). Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.