コード例 #1
0
ファイル: Client.php プロジェクト: mszula/php-newcamd
 private function setSessionKey(ServerMessage\Request\Login $login)
 {
     $session_key = new Key($this->config->getDesKey());
     $session_key->setDesKey(ByteFactory::create($login->getPassword()));
     $this->cipher->setKey($session_key);
     return $this;
 }