BlockCipher class abstract

An abstract class representing a block cipher for symmetric encryption and decryption.

Subclasses of this abstract class implement specific block cipher algorithms and provide methods for encryption and decryption of data.

Implementers

Constructors

BlockCipher()

Properties

blockSize int
Returns the size of the data block in bytes that the 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() BlockCipher
Clears any sensitive information or states held by the block cipher instance, ensuring that no secrets are left in memory after use.
decryptBlock(List<int> src, [List<int>? dst]) List<int>
Decrypts a single block of data.
encryptBlock(List<int> src, [List<int>? dst]) List<int>
Encrypts a single block of data.
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