Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 25 of 128) sorted by relevance

123456

/plugin/captcha/
H A Dhelper.php45 $rand = (float)(rand(0, 10000)) / 10000;
59 $secret = $this->encrypt($rand);
137 $rand = $this->decrypt($field_sec);
151 $rand === false ||
312 $rand = $rand * 0xFFFFF; // bitmask from the random number
323 public function _generateCAPTCHA($fixed, $rand) argument
345 protected function _generateMATH($fixed, $rand) argument
382 $color = imagecolorallocate($img, rand(100, 250), rand(100, 250), rand(100, 250));
383 imageline($img, rand(0, $w), rand(0, $h), rand(0, $w), rand(0, $h), $color);
390 $color = imagecolorallocate($img, rand(0, 100), rand(0, 100), rand(0, 100));
[all …]
H A Dimg.php18 $rand = $plugin->decrypt($_REQUEST['secret']); variable
19 $code = $plugin->_generateCAPTCHA($plugin->_fixedIdent(), $rand);
H A Dwav.php24 $rand = $plugin->decrypt($_REQUEST['secret']); variable
25 $code = strtolower($plugin->_generateCAPTCHA($plugin->_fixedIdent(), $rand));
/plugin/captcha/_test/
H A DHelperTest.php32 $rand = "12345";
33 $secret = $helper->encrypt($rand);
35 $this->assertSame($rand, $helper->decrypt($secret));
57 $rand = 0;
58 $code = $helper->_generateCAPTCHA($helper->_fixedIdent(), $rand);
60 … $this->callInaccessibleMethod($helper, 'storeCaptchaCookie', [$helper->_fixedIdent(), $rand]);
67 $INPUT->set($this->getInaccessibleProperty($helper, 'field_sec'), $helper->encrypt($rand));
83 $rand = 0;
84 $code = $helper->_generateCAPTCHA($helper->_fixedIdent(), $rand);
85 $newcode = $helper->_generateCAPTCHA($helper->_fixedIdent() . 'X', $rand);
[all …]
/plugin/farmer/3rdparty/
H A DRingIcon.php62 $this->rand(20,255),
63 $this->rand(20,255),
64 $this->rand(20,255)
109 protected function rand($min, $max) function in splitbrain\\RingIcon\\RingIcon
112 $rand = hexdec(substr($this->seed, 0, 8));
113 return ($rand % ($max - $min + 1)) + $min;
127 $start = $this->rand(20, 360);
128 $stop = $this->rand(20, 360);
159 …tealpha($image, $this->monocolor[0], $this->monocolor[1], $this->monocolor[2], $this->rand(0, 96));
161 … return imagecolorallocate($image, $this->rand(0, 255), $this->rand(0, 255), $this->rand(0, 255));
/plugin/requiz/
H A Dhelper.php29 $rand = rand(17,1000000);
32 $qidx = $rand % $qcnt;
33 $secret = PMA_blowfish_encrypt($rand,auth_cookiesalt());
61 $rand = PMA_blowfish_decrypt($_REQUEST['plugin__requiz_secret'],auth_cookiesalt());
64 $qidx = $rand % $qcnt;
/plugin/findologicxmlexport/vendor/hoa/compiler/Llk/Sampler/
H A DCoverage.php281 $rand = $inprogress[rand(
286 $rand = $already[rand(
299 $rand
328 … $rand = $uncovered[rand(0, count($uncovered) - 1)];
337 $rand
386 $rand = $inprogress[rand(
391 $rand = $already[rand(
399 $rand
402 $rand = $uncovered[rand(0, count($uncovered) - 1)];
411 $rand
[all …]
/plugin/statistics/inc/pchart/
H A DColor.php78 * @param mixed $rand optional externally created random value
81 public static function random($rand = null) { argument
82 if(!$rand) $rand = rand();
84 return new Color('#'.substr(md5($rand),0,6));
/plugin/passpolicy/
H A Dhelper.php266 $output .= $this->pools['special'][$this->rand(0, $pool_len - 1)];
277 $output .= $characters[$this->rand(0, $pool_len - 1)];
312 $postfix .= $this->rand(10, 99);
317 $postfix .= $this->pools['special'][rand(0, $spec_len - 1)];
324 $output .= $consonants[$this->rand(0, $c_len - 1)];
325 $output .= $vowels[$this->rand(0, $v_len - 1)];
326 $output .= $all[$this->rand(0, $a_len - 1)];
354 $prefix .= $this->rand(0, 999);
359 $prefix .= $this->pools['special'][rand(0, $spec_len - 1)];
408 public function rand($min, $max) function in helper_plugin_passpolicy
[all …]
/plugin/include/_test/
H A Dnested_include.test.php60 .'Main Content'.rand().DOKU_LF.DOKU_LF
65 .'Second Content'.rand().DOKU_LF.DOKU_LF
70 .'Third Content'.rand().DOKU_LF.DOKU_LF
/plugin/bashorg/
H A Dbash.org.php31 $id = rand(0, sizeof($quotes) - 1);
34 $id = rand(0, sizeof($quotes) - 1);
/plugin/twofactoryubiauth/
H A Dhelper.php161 $rand = rand(0,count($chars)-1);
162 $nonce .= $chars[$rand];
/plugin/combo/vendor/hidehalo/nanoid-php/src/
H A DClient.php112 $rand = mt_rand()/(mt_getrandmax() + 1);
113 $id .= $this->alphbet[$rand*64 | 0];
/plugin/revealjs/plugin/multiplex/
H A Dindex.js47 var rand = Math.floor(Math.random()*9999999);
48 var secret = ts.toString() + rand.toString();
/plugin/dokugource/
H A Daction.php122 $this->colors[$p] = sprintf('%02X%02X%02X', rand(0, 255), rand(0, 255), rand(0, 255));
H A Dadmin.php124 $this->colors[$p] = sprintf('%02X%02X%02X', rand(0, 255), rand(0, 255), rand(0, 255));
/plugin/simplechat/
H A Dajax.php28 …$newmsgline = ".\t«".htmlspecialchars($_GET['user'])." flips a coin. It is ".$coin[rand(0,1)…
32 …$newmsgline = ".\t«".htmlspecialchars($_GET['user'])." rolls a ".rand(1,$dicesides)." out of…
/plugin/badbehaviour/bad-behavior/
H A Dhousekeeping.inc.php10 if (rand(1,1000) == 1) {
/plugin/freechat/phpfreechat/
H A Dindex.php6 $params["nick"] = "guest".rand(1,1000); // setup the intitial nickname
/plugin/html2pdf/html2pdf/html2ps/
H A Doutput.pdflib.1.6.class.php57 $this->_fqn(sprintf("___Button%s",md5(time().rand()))),
183 $name = sprintf("AnonymousFormObject_%u", md5(rand().time()));
219 $fqn .= md5(rand().time());
/plugin/siteexport/_test/
H A Dplugin_siteexport_javascript.test.php32 $_SERVER['SERVER_PORT'] = rand();
/plugin/randomquote/
H A Dsyntax.php66 $renderer->doc .= '<div class="randomquote">"'.$quotes[rand(0,sizeof($quotes)-1)].'"</div>';
/plugin/freechat/phpfreechat/src/commands/
H A Dasknick.class.php24 $cmdp["param"] = $nicktochange."".rand(1,1000);
/plugin/epnsmartlink/
H A Daction.php69 if ($this->getConf('epn-smart-support') && (rand(1, 100) <= 5 )) {
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/
H A DPackagerFilter.php45 $hash = substr(sha1(time().rand(11111, 99999)), 0, 7);

123456