decrypt<Text, Key> abstract method

Uint8List decrypt<Text, Key>(
  1. Text? ciphertext,
  2. Key? key,
  3. {CipherOptions? options}
)

The decrypt method takes in cipher text, a key, and optionally an initialization vector (iv) and cipher options. It returns a Uint8List which contains the decrypted data. The method is generic and can work with any type of data for the cipher text, key, and iv.

Implementation

Uint8List decrypt<Text, Key>(Text? ciphertext, Key? key,
    {CipherOptions? options});