ECB class
Electronic Codebook (ECB) mode for AES encryption and decryption.
This class extends the AES block cipher to implement the Electronic Codebook (ECB) mode, which is a basic block cipher mode that encrypts and decrypts data in fixed-size blocks.
Properties
Methods
-
clean(
) → AES -
Clears and releases internal key schedule data for security and memory management.
inherited
-
decryptBlock(
List< int> src, [List<int> ? dst, PaddingAlgorithm? paddingStyle = PaddingAlgorithm.pkcs7]) → List<int> -
Decrypts a single data block using the Electronic Codebook (ECB) mode.
override
-
encryptBlock(
List< int> src, [List<int> ? dst, PaddingAlgorithm? paddingStyle = PaddingAlgorithm.pkcs7]) → List<int> -
Encrypts a single data block using the Electronic Codebook (ECB) mode.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setKey(
List< int> key, [bool noDecryption = false]) → AES -
Initializes the AES cipher with the provided encryption key.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited