Crate crypto_mac[][src]

Expand description

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


pub extern crate generic_array;


Error type for signaling invalid key length for MAC initialization

Error type for signaling failed MAC verification

MacResult is a thin wrapper around bytes array which provides a safe Eq implementation that runs in a fixed time.


The Mac trait defines methods for a Message Authentication algorithm.