Blake2bMAC class

A MAC generator based on Blake2b algorithm.

Inheritance

Constructors

Blake2bMAC.new(int digestSize)
Creates an instance to generate MAC using BLAKE-2b algorithm.
const

Properties

digestSize int
The number of bytes in the output.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of this algorithm
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

by(List<int> key, {List<int>? salt, List<int>? aad}) MACHashBase<Blake2bHash>
Get an MACHashBase instance initialized by a key.
override
byString(String key, [Encoding? encoding]) MACHashBase<Blake2bHash>
Get a MACHashBase instance initialized by a string key.
inherited
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 a key to generate a tag.
inherited
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 the message using a key.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited