CBC class

Implements a block cipher using CBC mode.

Implemented types

Constructors

CBC(BlockCipher cipher, List<int> iv)

Properties

blockSize int
Returns the size of the data block in bytes that the cipher operates on.
no setteroverride
cipher BlockCipher
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() BlockCipher
Resets all internal state for this cipher.
override
clone() CBC
clone current state of cbc
decryptBlock(List<int> input, [List<int>? dst]) List<int>
Decrypt exactly 1 block (16 bytes)
override
encryptBlock(List<int> src, [List<int>? dst]) List<int>
Encrypt exactly 1 block (16 bytes)
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