encrypt abstract method

EncryptionResult encrypt(
  1. Uint8List input, {
  2. Uint8List? initializationVector,
  3. Uint8List? additionalAuthenticatedData,
})

Encrypts the input data using the key and algorithm

When the algorithm requires an initialization vector and none is provided, a random initialization vector is generated.

Implementation

EncryptionResult encrypt(Uint8List input,
    {Uint8List? initializationVector,
    Uint8List? additionalAuthenticatedData});