pub struct Output<M: Mac> { /* fields omitted */ }
Expand description
Output
is a thin wrapper around bytes array which provides a safe Eq
implementation that runs in a fixed time.
Get the MAC tag/code value as a byte array.
Be very careful using this method, since incorrect use of the tag value
may permit timing attacks which defeat the security provided by the
Mac
trait.
Performs copy-assignment from source
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.