Lines Matching refs:i
51 for ($i = 0; $i < $secretLength; ++$i) {
52 $secret .= $validChars[ord($rnd[$i]) & 31];
141 for ($i = -$discrepancy; $i <= $discrepancy; ++$i) {
142 $calculatedCode = $this->getCode($secret, $currentTimeSlice + $i);
186 for ($i = 0; $i < 4; ++$i) {
187 if ($paddingCharCount == $allowedValues[$i] &&
188 substr($secret, -($allowedValues[$i])) != str_repeat($base32chars[32], $allowedValues[$i])) {
195 for ($i = 0; $i < count($secret); $i = $i + 8) {
197 if (!in_array($secret[$i], $base32chars)) {
201 $x .= str_pad(base_convert(@$base32charsFlipped[@$secret[$i + $j]], 10, 2), 5, '0', STR_PAD_LEFT);
251 for ($i = 0; $i < $userLen; ++$i) {
252 $result |= (ord($safeString[$i]) ^ ord($userString[$i]));