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
-
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
messageusing akeyto 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
tagis derived from themessageusing akey.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited