ISO9797 class

Class defines ISO/IEC 9797-1 MAC algorithm 3 and padding method 2.

Constructors

ISO9797()

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

macAlg3(Uint8List key, Uint8List msg, {bool padMsg = true}) → dynamic
Function returns CMAC result according to ISO9797-1 Algorithm 3 scheme using DES encryption algorithm.
pad(Uint8List data, int n) Uint8List
unpad(Uint8List data) Uint8List

Constants

macAlg3_DigestLen → const int
macAlg3_Key1Len → const int
macAlg3_Key2Len → const int