Hash-based Message Authentication Code (HMAC) operations.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
compute(
{required HashAlgorithm algorithm, required Uint8List key, required Uint8List data}) → Uint8List -
Computes HMAC for
datausingkeyandalgorithm. -
sha256(
{required Uint8List key, required Uint8List data}) → Uint8List -
Computes HMAC-SHA256 for
datausingkey. -
sha384(
{required Uint8List key, required Uint8List data}) → Uint8List -
Computes HMAC-SHA384 for
datausingkey. -
sha512(
{required Uint8List key, required Uint8List data}) → Uint8List -
Computes HMAC-SHA512 for
datausingkey.