Ejemplo n.º 1
0
 public function __construct(string $publicKey)
 {
     parent::__construct(ServerPacketHeader::SecretKeyMessageComposer);
     $this->appendString($publicKey);
     $this->appendBoolean(true);
 }
 public function __construct(string $prime, string $generator)
 {
     parent::__construct(ServerPacketHeader::InitCryptoMessageComposer);
     $this->appendString($prime);
     $this->appendString($generator);
 }