DartMacSinkMixin mixin

A mixin for pure Dart implementations of MacSink

Implemented types
Mixin applications

Properties

hashCode → int
The hash code for this object.
no setterinherited
isClosed → bool
Whether the sink is closed.
no setterinherited
macBytes → Uint8List
Unsafe view at the current MAC bytes.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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 to this.
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