Crate crypto_mac

Source
Expand description

This crate provides trait for Message Authentication Code (MAC) algorithms.

Re-exports§

Modules§

  • Type aliases for many constants.
  • devdev
    Development-related functionality

Macros§

Structs§

  • Error type for signaling invalid key length for MAC initialization
  • Error type for signaling failed MAC verification
  • Output is a thin wrapper around bytes array which provides a safe Eq implementation that runs in a fixed time.

Traits§

  • Trait for MAC functions which can be created from block cipher.
  • The Mac trait defines methods for a Message Authentication algorithm.
  • Instantiate a Mac algorithm.

Type Aliases§

  • Key for an algorithm that implements NewMac.