decrypt method Null safety
Decrypts data
created with the encrypt method using a key
created
with generateRandomKey or generateKeyFromPassword methods.
In case the key
is wrong or the data
has been forged, a
MacMismatchException is thrown
Implementation
Future<String?> decrypt(String data, String key);