decrypt<Text, Key> abstract method
- Text? ciphertext,
- Key? key,
- {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});