reset method

  1. @override
void reset()
override

Reset the cipher to its original state.

Implementation

@override
void reset() {
  underlyingCipher.reset();
  _counter.setAll(0, _iv);
  _counterOut.fillRange(0, _counterOut.length, 0);
  _consumed = _counterOut.length;
}