CryptoEncryptWorker class final
Crypto worker configuration for file encryption.
Encrypts a file using AES-256-GCM with password-derived key.
Constructors
- CryptoEncryptWorker({required String inputPath, required String outputPath, required String password, EncryptionAlgorithm algorithm = EncryptionAlgorithm.aes})
-
const
Properties
- algorithm → EncryptionAlgorithm
-
Encryption algorithm (currently only AES supported).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputPath → String
-
Path to file to encrypt.
final
- outputPath → String
-
Path where encrypted file will be saved.
final
- password → String
-
Password for encryption (will be used to derive key).
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