Searched refs:secretLength (Results 1 – 3 of 3) sorted by relevance
25 * @param int $secretLength30 public function createSecret($secretLength = 16) argument 35 if ($secretLength < 16 || $secretLength > 128) {41 $rnd = random_bytes($secretLength);43 $rnd = mcrypt_create_iv($secretLength, MCRYPT_DEV_URANDOM);45 $rnd = openssl_random_pseudo_bytes($secretLength, $cryptoStrong);51 for ($i = 0; $i < $secretLength; ++$i) {
20 * @param int $secretLength23 public function createSecret($secretLength = 16) argument29 for ($i = 0; $i < $secretLength; $i++) {