clear method

void clear()

Implementation

void clear() {
  if (_secret case final s?) {
    ByteUtils.clear(s);
    _secret = null;
  }
  if (_wots case final w?) {
    ByteUtils.clear(w);
    _wots = null;
  }
  if (_addrTag case final t?) {
    ByteUtils.clear(t);
    _addrTag = null;
  }
  addrTagHex = null;
  wotsAddrHex = null;
  mochimoAddr = null;
}