decrypt method

String decrypt(
  1. String hexValue
)

Implementation

String decrypt(String hexValue) {
  if (!isInitialized) {
    return _empty;
  }

  try {
    return _cipher!.decrypt(
      aes.Encrypted.fromBase16(hexValue),
      iv: _iv!,
    );
  } catch (e) {
    return _empty;
  }
}