decryptPlainText method

String decryptPlainText(
  1. Encrypted cipherText
)

Implementation

String decryptPlainText(Encrypted cipherText){
  final encrypter = Encrypter(AES(_key));
  final decrypted = encrypter.decrypt(cipherText, iv: _iv);
  return decrypted;
}