clean method

  1. @override
CTR clean()

Zeroes the counter and keystream buffer, and drops the cipher.

Implementation

@override
CTR clean() {
  BinaryOps.zero(_buffer);
  BinaryOps.zero(_counter);
  _bufpos = _buffer.length;
  _cipher = null;
  return this;
}