decrypt static method
decrypt the plainText with user key and random iv and return plain Text
if will encryption randomIV
is passed than make sure to pass the same randomIV to decrypt.
Implementation
static String decrypt(
String key,
String encrpytedPharse,
) {
final ei = _encrypterInitilization(
key: key,
);
final encrypter = ei.encrypter;
final iv = ei.iv;
return encrypter.decrypt64(encrpytedPharse, iv: iv);
}