process method

Uint8List process(
  1. Uint8List data
)

Implementation

Uint8List process(Uint8List data) {
  if (_cipher is! CBCBlockCipher) {
    throw StateError('PaddedBlockCipherImpl requer CBCBlockCipher.');
  }
  final cbc = _cipher;
  if (cbc.forEncryption) {
    return _encrypt(data, cbc);
  }
  return _decrypt(data, cbc);
}