The standard log2 number of iterations for password stretching. This should increase by 1 every Drupal version in order to counteract increases in the speed and power of computers available to crack the hashes.

3 uses of DRUPAL_HASH_COUNT
UserLoginTestCase::testPasswordRehashOnLogin in modules/user/user.test
Test that user password is re-hashed upon login after changing $count_log2.
user_hash_password in includes/password.inc
Hash a password using a secure hash.
user_needs_new_hash in includes/password.inc
Check whether a user's hashed password needs to be replaced with a new hash.

File

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

Code

define('DRUPAL_HASH_COUNT', 15)