1 password.inc _password_get_count_log2($setting)

Parse the log2 iteration count from a stored hash or setting string.

File

core/includes/password.inc, line 193
Secure password hashing functions for user authentication.

Code

function _password_get_count_log2($setting) {
  $itoa64 = _password_itoa64();
  return strpos($itoa64, $setting[3]);
}