encrypt abstract method

FutureOr<int> encrypt(
  1. Uint8List inp,
  2. int inpOff,
  3. int inpLength,
  4. Uint8List out,
  5. int outOff,
)
  • inp: the total bytes in plain text
  • inpOff: the byte offset to start encryption at
  • inpLength: the number of bytes (length) to encrypt
  • out: the buffer to write the encrypted output in
  • outOff: the byte offset to write the encrypted output to

returns the length of the new encrypted output

Implementation

FutureOr<int> encrypt(
    Uint8List inp, int inpOff, int inpLength, Uint8List out, int outOff);