AES class

Represents an Advanced Encryption Standard (AES) block cipher.

Implemented types
Implementers

Constructors

AES(List<int> key, [bool noDecryption = false])
Creates an AES cipher instance with the given encryption key.

Properties

blockSize int
Block size for AES cipher
final
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() AES
Clears and releases internal key schedule data for security and memory management.
override
decryptBlock(List<int> src, [List<int>? dst]) List<int>
Decrypt block
override
encryptBlock(List<int> src, [List<int>? dst]) List<int>
Encrypt block
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.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited