Lines Matching defs:len
45 $len = strlen($hash);
104 } elseif ($len == 32) {
106 } elseif ($len == 40) {
108 } elseif ($len == 16) {
110 } elseif ($len == 41 && $hash[0] == '*') {
112 } elseif ($len == 34) {
132 * @param int $len The length of the salt
135 public function gen_salt($len = 32)
139 for ($i = 0; $i < $len; $i++) {
152 * @param int $len The length of the salt
155 public function init_salt(&$salt, $len = 32, $cut = true)
158 $salt = $this->gen_salt($len);
161 if (strlen($salt) > $len && $cut) $salt = substr($salt, 0, $len);
231 $len = strlen($clear);
234 for ($i = $len; $i > 0; $i -= 16) {
237 for ($i = $len; $i > 0; $i >>= 1) {