Expand description
This crate provides trait for Message Authentication Code (MAC) algorithms.
Re-exports§
pub use cipher;
pub use generic_array;
Modules§
Macros§
Structs§
- Invalid
KeyLength - Error type for signaling invalid key length for MAC initialization
- MacError
- Error type for signaling failed MAC verification
- Output
Output
is a thin wrapper around bytes array which provides a safeEq
implementation that runs in a fixed time.
Traits§
- From
Block Cipher cipher
- Trait for MAC functions which can be created from block cipher.
- Mac
- The
Mac
trait defines methods for a Message Authentication algorithm. - NewMac
- Instantiate a
Mac
algorithm.