DRUPAL_MIN_HASH_COUNT
The minimum allowed log2 number of iterations for password stretching.
3 uses of DRUPAL_MIN_HASH_COUNT
- PasswordHashingTest::testPasswordHashing in modules/
simpletest/ tests/ password.test - Test password hashing.
- _password_crypt in includes/
password.inc - Hash a password using a secure stretched hash.
- _password_enforce_log2_boundaries in includes/
password.inc - Ensures that $count_log2 is within set bounds.
File
-
includes/
password.inc, line 26
Code
define('DRUPAL_MIN_HASH_COUNT', 7);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.