updateByte method

  1. @override
void updateByte(
  1. int inp
)
override

Add one byte of data to the MAC input.

Implementation

@override
void updateByte(int inp) {
  if (_bufOff == _buf.length) {
    _cipher.processBlock(_buf, 0, _mac, 0);
    _bufOff = 0;
  }

  _buf[_bufOff++] = inp;
}