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.
The encrypt method takes in plain text, a key, and optionally an initialization vector (iv) and cipher options.
It returns a CipherParams object which contains the encrypted data.
The method is generic and can work with any type of data for the plain text, key, and iv.