streamXOR method
XORs source data with the keystream and writes the result to the destination.
Parameters:
src: The source data to be XORed with the keystream.dst: The destination where the XORed result will be written.
Implementation
void streamXOR(List<int> src, List<int> dst) {
for (var i = 0; i < src.length; i++) {
if (_bufpos == _buffer.length) {
_fillBuffer();
}
dst[i] = (src[i] & BinaryOps.mask8) ^ _buffer[_bufpos++];
}
}