CryptoDecryptWorker class final
Crypto worker configuration for file decryption.
Decrypts a file previously encrypted by CryptoEncryptWorker. Both Android and iOS use AES-256-GCM with the same on-disk format, so cross-platform decryption is fully supported.
Constructors
- CryptoDecryptWorker({required String inputPath, required String outputPath, required String password, EncryptionAlgorithm algorithm = EncryptionAlgorithm.aes})
-
const
Properties
- algorithm → EncryptionAlgorithm
-
Encryption algorithm used (currently only AES supported).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputPath → String
-
Path to encrypted file.
final
- outputPath → String
-
Path where decrypted file will be saved.
final
- password → String
-
Password used for encryption.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workerClassName → String
-
Get the worker class name for native side.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Convert to map for platform channel.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited