decrypt method

  1. @override
int decrypt(
  1. Uint8List inp,
  2. int inpOff,
  3. int inpLength,
  4. Uint8List out,
  5. int outOff,
)
override

Decrypt the given bytes.

Implementation

@override
int decrypt(
    Uint8List inp, int inpOff, int inpLength, Uint8List out, int outOff) {
  var iv = inp.view(inpOff, 16);

  return _cipher.decrypt(iv, inp, inpOff + 16, inpLength - 16, out, 0);
}