Lines Matching refs:key
633 * @param string $key
635 public function setKey($key) argument
637 if (!($this instanceof TripleDES) && strlen($key) != 8) {
638 …throw new \LengthException('Key of size ' . strlen($key) . ' not supported by this algorithm. Only…
642 parent::setKey($key);
772 …if (isset($this->kl['key']) && $this->key === $this->kl['key'] && $this->des_rounds === $this->kl[…
776 $this->kl = ['key' => $this->key, 'des_rounds' => $this->des_rounds];
1230 $key = str_pad(substr($this->key, $des_round * 8, 8), 8, "\0");
1233 $t = unpack('Nl/Nr', $key);
1235 … $key = (self::$shuffle[$pc1map[ $r & 0xFF]] & "\x80\x80\x80\x80\x80\x80\x80\x00") |
1243 $key = unpack('Nc/Nd', $key);
1244 $c = ( $key['c'] >> 4) & 0x0FFFFFFF;
1245 $d = (($key['d'] >> 4) & 0x0FFFFFF0) | ($key['c'] & 0x0F);