decrypt method

Iterable<int> decrypt(
  1. dynamic input
)

Implementation

Iterable<int> decrypt(/* String | Uint8List */ input) {
  if (input is String) {
    input = base64Decode(input);
  }

  final decrypted = _decryptionEngine.process(input);
  final unpadded =
      padder.unpad(_decryptionEngine.blockSize, decrypted).toList();

  return unpadded;
}