Encrypter class
This class provides AES-256-CBC encryption and decryption methods.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
decryptAES256CBC(
String? encryptedData, {String? key}) → Future - Asynchronously decrypts a encrypted string using AES-256 in CBC mode.
-
encryptAES256CBC(
dynamic data, {String? key, String? iv}) → Future< String?> - Asynchronously encrypts data using AES-256 in CBC mode. The method supports providing a custom key and initialization vector (IV).