src/net/packets.js
function EncinitPacket(publicKey, cipher) {
  if (!(this instanceof EncinitPacket))
    return new EncinitPacket(publicKey, cipher);

  Packet.call(this);

  this.publicKey = publicKey || encoding.ZERO_KEY;
  this.cipher = cipher || 0;
}
function EncinitPacket(publicKey, cipher) {
  if (!(this instanceof EncinitPacket))
    return new EncinitPacket(publicKey, cipher);

  Packet.call(this);

  this.publicKey = publicKey || encoding.ZERO_KEY;
  this.cipher = cipher || 0;
}
function EncinitPacket ( publicKey , cipher ) { if ( ! ( this instanceof EncinitPacket ) ) return new EncinitPacket ( publicKey , cipher ) ; Packet . call ( this ) ; this . publicKey = publicKey || encoding . ZERO_KEY ; this . cipher = cipher || 0 ; }
Represents a `encinit` packet.
@constructor
@param {Buffer|null} publicKey
@param {Number|null} cipher
@property {Buffer} publicKey
@property {Number} cipher
Represents a encinit packet .