reset method
Reset the mac generator.
Implementation
@override
void reset() {
// clean the buffer.
for (var i = 0; i < _buf.length; i++) {
_buf[i] = 0;
}
_bufOff = 0;
// reset the underlying cipher.
_cipher.reset();
_cipher.init(true, _params);
if (_params != null) {
_cipher.init(true, _params);
}
}