encrypt method
Encrypt the given bytes.
Implementation
@override
int encrypt(
Uint8List inp,
int inpOff,
int inpLength,
Uint8List out,
int outOff,
) {
final iv = generateIv();
out.setAll(outOff, iv);
final len = _cipher.encrypt(iv, inp, 0, inpLength, out, outOff + 16);
return len + 16;
}