discontinuedPackage encrypt_decrypt_plus has been discontinued and replaced by encrypter.

AES class

encryption and decryption using AES

Constructors

AES({required String secretKey, required String iv, String padding = "0"})

Properties

hashCode → int
The hash code for this object.
no setterinherited
iv ↔ String
iv 16 character long
getter/setter pair
padding ↔ String
padding default 0, any character
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secretKey ↔ String
secretKey 32 character long
getter/setter pair

Methods

decryptAES256CBC(String encryptedData) → Future
encryptAES256CBC(dynamic data) → Future<String?>
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