Mac class abstract

The interface that a MAC (message authentication code) conforms to.

Inheritance
Implementers

Constructors

Mac(String algorithmName)
Create the MAC specified by the standard algorithmName.
factory

Properties

algorithmName → String
Get this algorithm's standard name.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
macSize → int
Get this MAC's output size.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

doFinal(Uint8List out, int outOff) → int
Store the MAC of previously given data in buffer out starting at offset outOff. This method returns the size of the digest.
init(CipherParameters params) → void
Init the MAC with its initialization params. The type of CipherParameters depends on the algorithm being used (see the documentation of each implementation to find out more).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process(Uint8List data) → Uint8List
Process a whole block of data at once, returning the result in a new byte array.
reset() → void
Reset the MAC to its original state.
toString() → String
A string representation of this object.
inherited
update(Uint8List inp, int inpOff, int len) → void
Add len bytes of data contained in inp, starting at position inpOff to the MAC'ed input.
updateByte(int inp) → void
Add one byte of data to the MAC input.

Operators

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