_password_get_count_log2
function _password_get_count_log2
_password_get_count_log2($setting)
Parse the log2 iteration count from a stored hash or setting string.
File
- includes/password.inc, line 194
- Secure password hashing functions for user authentication.
Code
function _password_get_count_log2($setting) { $itoa64 = _password_itoa64(); return strpos($itoa64, $setting[3]); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!password.inc/function/_password_get_count_log2/7.x