AESEncryptionAlgo class

A class that provides AES encryption and decryption for Uint8List, implementing the SymmetricEncryptionAlgorithm interface.

Implemented types

Constructors

AESEncryptionAlgo(AESKey _aesKey)

Properties

hashCode int
The hash code for this object.
no setterinherited
paddingAlgo ↔ PaddingAlgorithm?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decrypt(Uint8List encryptedData, {InitialisationVector? iv}) FutureOr<Uint8List>
Decrypts the passed encrypted bytes.
override
encrypt(Uint8List plainData, {InitialisationVector? iv}) FutureOr<Uint8List>
Encrypts the passed bytes. Bytes are passed as Uint8List. Encode String data type to Uint8List using utf8.encode.
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