BlockCipherCbc class abstract

A block cipher running in CBC mode. Unlike BlockCipher, this is stateful: each call chains off the previous block's ciphertext, so the same instance must be used for a message's blocks in order.

Implementers

Constructors

BlockCipherCbc()

Properties

blockSize → int
Size of the data block in bytes that the underlying cipher operates on.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clean() → BlockCipherCbc
Zeroes any key material or state held by this instance.
decrypt(List<int> src, [List<int>? dst]) → BuBytes
Decrypts a single block, XORing the result with the previous ciphertext block (or the IV, for the first block).
encrypt(List<int> src, [List<int>? dst]) → BuBytes
Encrypts a single block, XORing it with the previous ciphertext block (or the IV, for the first block) first.
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