Lines Matching refs:rc4
154 public function rc4($key, $text)
158 $rc4 = range(0, 255);
161 $t = $rc4[$i];
163 $rc4[$i] = $rc4[$j];
164 $rc4[$j] = $t;
167 $this->lastRc4KeyC = $rc4;
169 $rc4 = $this->lastRc4KeyC;
178 $t = $rc4[$a];
180 $rc4[$a] = $rc4[$b];
181 $rc4[$b] = $t;
182 $k = $rc4[($rc4[$a] + $rc4[$b]) % 256];
267 $enc = $this->rc4($owner_rc4_key, $user_pass);
275 $enc = $this->rc4($key, $enc);
286 $enc = $this->rc4($this->encryptionKey, $tmp);
293 $enc = $this->rc4($key, $enc);
299 return $this->rc4($this->encryptionKey, $this->padding);