EncryptionOptions constructor

const EncryptionOptions({
  1. EncryptionAlgorithm algorithm = EncryptionAlgorithm.aes256,
  2. 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,
});