clean method

CTR clean()

Clears internal state and data in the Counter (CTR) mode instance for security and memory management.

Implementation

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