MACHash<T extends HashDigestSink> class
abstract
- Implementers
- Available extensions
Constructors
- MACHash.new()
-
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
-
pbkdf2(
List< int> salt, {PBKDF2Security security = PBKDF2Security.good, int? iterations, int? keyLength}) → PBKDF2 -
Available on MACHash<
Generate a secret using PBKDF2 hash algorithm.HashDigestSink> , provided by the PBKDF2onMACHashBase extension -
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