MACHash<T extends HashDigestSink> class
abstract
- Available extensions
Constructors
- MACHash()
-
const
Properties
Methods
-
by(
List< int> key) → MACHashBase<T> -
Get a MACHashBase instance initialized by a
key
. -
byString(
String key, [Encoding? encoding]) → MACHashBase< T> -
Get a MACHashBase instance initialized by a string
key
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
List< int> key, List<int> message) → HashDigest -
Signing the
message
using akey
to generate a tag. -
toString(
) → String -
A string representation of this object.
inherited
-
verify(
List< int> key, List<int> tag, List<int> message) → bool -
Verify if the
tag
is derived from themessage
using akey
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited