decrypt method

String decrypt(
  1. String cipherText
)

Implementation

String decrypt(String cipherText) {
  _cipher
    ..reset()
    ..init(false, _params);

  final input = AppHelpers.hexToBytes(cipherText);
  final output = _cipher.process(input);

  return String.fromCharCodes(output);
}