DartPoly1305Sink class

Inheritance
Mixed-in types
Implementers

Constructors

DartPoly1305Sink()

Properties

hashCode → int
The hash code for this object.
no setterinherited
isClosed → bool
Whether the sink is closed.
no setteroverride
length → int
no setter
macBytes → Uint8List
Unsafe view at the current MAC bytes.
no setteroverride
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.
override
afterData() → void
A protected method required by DartChacha20Poly1305AeadMacAlgorithm implementation.
beforeData({required SecretKeyData secretKey, required List<int> nonce, required List<int> aad}) → void
A protected method required by DartChacha20Poly1305AeadMacAlgorithm implementation.
close() → void
Closes the sink.
override
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.
override
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

Static Methods

process({required ByteData block, required Uint16List a, required Uint16List s, required Uint16List r, required Uint32List tmp, required int blockLength, required bool isLast}) → void