AesCtrLeStream class final

The WinZip AES variant of CTR mode: the 16-byte counter block is a little-endian integer starting at 1, with no nonce, not the big-endian layout of SP 800-38A. XORing the keystream is its own inverse, so one class serves encrypt and decrypt.

Byte-granular: chunk boundaries need not align to 16, matching ZIP's streaming reads.

Constructors

AesCtrLeStream(Aes _cipher)
Creates the keystream over cipher, counter starting at 1.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processInPlace(Uint8List data, [int start = 0, int? end]) → void
XORs the keystream over data[start..end) in place.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited