DartChacha20Poly1305AeadMacAlgorithmSink class

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
isClosed bool
Whether the sink is closed.
no setterinherited
length int
no setterinherited
macBytes Uint8List
Unsafe view at the current MAC bytes.
no setterinherited
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
afterData() → void
A protected method required by DartChacha20Poly1305AeadMacAlgorithm implementation.
override
beforeData({required SecretKeyData secretKey, required List<int> nonce, List<int> aad = const []}) → void
A protected method required by DartChacha20Poly1305AeadMacAlgorithm implementation.
override
close() → void
Closes the sink.
inherited
deriveSecretKey({required SecretKeyData secretKey, required List<int> nonce}) SecretKeyData
Used by DartXchacha20Poly1305AeadMacAlgorithmSink.
initializeSync({required SecretKeyData secretKey, required List<int> nonce, List<int> aad = const []}) → void
Re-initializes the sink.
override
mac() Future<Mac>
Calculates current MAC.
inherited
macSync() Mac
Computes the MAC synchronously.
inherited
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