EncryptionService class
Service for encrypting and decrypting data.
Handles encryption at rest for local storage using various algorithms.
Constructors
- EncryptionService(EncryptionConfig config)
Properties
- config → EncryptionConfig
-
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
-
decryptData(
String ciphertext) → String - Decrypt data after reading.
-
decryptMap(
Map< String, dynamic> data) → Map<String, dynamic> - Decrypt a map (document data).
-
encryptData(
String plaintext) → String - Encrypt data before storing.
-
encryptMap(
Map< String, dynamic> data) → Map<String, dynamic> - Encrypt a map (document data).
-
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