src/net/packets.js
function AuthChallengePacket(hash) {
  if (!(this instanceof AuthChallengePacket))
    return new AuthChallengePacket(hash);

  Packet.call(this);

  this.hash = hash || encoding.ZERO_HASH;
}
function AuthChallengePacket(hash) {
  if (!(this instanceof AuthChallengePacket))
    return new AuthChallengePacket(hash);

  Packet.call(this);

  this.hash = hash || encoding.ZERO_HASH;
}
function AuthChallengePacket ( hash ) { if ( ! ( this instanceof AuthChallengePacket ) ) return new AuthChallengePacket ( hash ) ; Packet . call ( this ) ; this . hash = hash || encoding . ZERO_HASH ; }
Represents a `authchallenge` packet.
@constructor
@param {Buffer?} hash
@property {Buffer} hash
Represents a authchallenge packet .