Lines Matching defs:key
86 protected $key;
124 * Sets the key length
129 * @throws \LengthException if the key length is invalid
143 * Sets the key length
147 * @param string $key
149 public function setKey($key)
151 $length = strlen($key);
156 parent::setKey($key);
215 * Setup the key (expansion)
221 $key = $this->key;
222 $keyLength = strlen($key);
226 $j = ($j + $keyStream[$i] + ord($key[$i % $keyLength])) & 255;