Lines Matching refs:i
29 for ($i = 0; $i < $secretLength; $i++) {
93 for ($i = -$discrepancy; $i <= $discrepancy; $i++) {
94 $calculatedCode = $this->getCode($secret, $currentTimeSlice + $i);
131 for ($i = 0; $i < 4; $i++){
132 if ($paddingCharCount == $allowedValues[$i] &&
133 …substr($secret, -($allowedValues[$i])) != str_repeat($base32chars[32], $allowedValues[$i])) return…
138 for ($i = 0; $i < count($secret); $i = $i+8) {
140 if (!in_array($secret[$i], $base32chars)) return false;
142 … $x .= str_pad(base_convert(@$base32charsFlipped[@$secret[$i + $j]], 10, 2), 5, '0', STR_PAD_LEFT);
167 for ($i = 0; $i < count($secret); $i++) {
168 $binaryString .= str_pad(base_convert(ord($secret[$i]), 10, 2), 8, '0', STR_PAD_LEFT);
172 $i = 0;
173 while ($i < count($fiveBitBinaryArray)) {
174 $base32 .= $base32chars[base_convert(str_pad($fiveBitBinaryArray[$i], 5, '0'), 2, 10)];
175 $i++;