MACSinkBase class abstract
Base class for the sink used by Message-Authentication-Code generators
- Inheritance
-
- Object
- HashDigestSink
- MACSinkBase
Constructors
Properties
- closed → bool
-
Returns true if the sink is closed, false otherwise
no setterinherited
- derivedKeyLength → int
-
The length of generated key in bytes
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hashLength → int
-
The length of generated hash in bytes
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
$finalize(
) → Uint8List -
Finalizes the message digest with the remaining message block,
and returns the output as byte array.
inherited
-
$process(
List< int> chunk, int start, int end) → void -
Processes a chunk of input data
inherited
-
add(
List< int> data, [int start = 0, int? end]) → void -
Adds
data
to the message-digest.inherited -
close(
) → void -
Finalizes the message-digest. It calls digest method internally.
inherited
-
digest(
) → HashDigest -
Finalizes the message-digest and returns a HashDigest
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
Resets the current state to start from fresh state
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited