AESEncryption class
Class responsible for AES encryption of data.
Constructors
- AESEncryption({required String encryptionKey, AESMode? mode, String? padding})
- Constructor for AESEncryption class.
Properties
- accessKey ↔ String
-
getter/setter pair
-
encrypt
→ Future<
String> -
Asynchronously encrypts the value.
no setter
- encryptionKey → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → AESMode?
-
final
- padding → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
validAesKeyLength
→ List<
int> -
List of valid AES key lengths.
no setter
- value ↔ dynamic
-
getter/setter pair
Methods
-
aesEncrypt(
String secretKey, String value) → Future< String> -
Encrypts
valueusing AES encryption with the providedsecretKey. -
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