Home
last modified time | relevance | path

Searched refs:secretLength (Results 1 – 3 of 3) sorted by relevance

/plugin/twofactor/
H A DGoogleAuthenticator.php25 * @param int $secretLength
30 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) {
/plugin/authgoogle2fa/
H A DGoogleAuthenticator.php20 * @param int $secretLength
23 public function createSecret($secretLength = 16) argument
29 for ($i = 0; $i < $secretLength; $i++) {
/plugin/authg2fa/
H A DGoogleAuthenticator.php20 * @param int $secretLength
23 public function createSecret($secretLength = 16) argument
29 for ($i = 0; $i < $secretLength; $i++) {