DartMacSinkMixin mixin
A mixin for pure Dart implementations of MacSink
- Implemented types
- Mixin applications
Properties
Methods
-
add(
List< int> chunk) → void -
Adds chunked data to this sink.
inherited
-
addSlice(
List< int> chunk, int start, int end, bool isLast) → void -
Adds the next
chunk
tothis
.inherited -
close(
) → void -
Closes the sink.
inherited
-
initializeSync(
{required SecretKeyData secretKey, required List< int> nonce, List<int> aad = const []}) → void - Re-initializes the sink.
-
mac(
) → Future< Mac> -
Calculates current MAC.
override
-
macSync(
) → Mac - Computes the MAC synchronously.
-
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