decryptText method

String decryptText(
  1. String cipherHex
)

Implementation

String decryptText(String cipherHex) {
  try {
    final encrypted = encrypt.Encrypted.fromBase16(cipherHex);
    return _encrypter.decrypt(encrypted, iv: _iv);
  } catch (_) {
    return '';
  }
}