EncryptionOptions constructor
const
EncryptionOptions({
- EncryptionAlgorithm algorithm = EncryptionAlgorithm.aes256,
- required String key,
Creates a new instance of EncryptionOptions.
The algorithm
parameter specifies the encryption algorithm to use.
The key
parameter is the key used for encryption and decryption.
Implementation
const EncryptionOptions({
this.algorithm = EncryptionAlgorithm.aes256,
required this.key,
});