AesCbcEncryptor class final

AES-CBC encryption. Used by the 7z write-side encryption (Phase 4, doc/encryption-scope.md), and by the primitives' round-trip tests and the RAR4 fixture builder (P3-5).

Constructors

AesCbcEncryptor(Aes _cipher, Uint8List iv)
Creates an encryptor over cipher starting from iv (16 bytes).

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

encryptInPlace(Uint8List data, [int start = 0, int? end]) → void
Encrypts data[start..end) in place; the length must be a multiple of 16.
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