constant DRUPAL_HASH_COUNT in Simple LDAP 7
Same name and namespace in other branches
- 7.2 simple_ldap_user/simple_ldap_user.password.inc \DRUPAL_HASH_COUNT
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.
2 uses of DRUPAL_HASH_COUNT
- user_hash_password in simple_ldap_user/
simple_ldap_user.password.inc - Hash a password using a secure hash.
- user_needs_new_hash in simple_ldap_user/
simple_ldap_user.password.inc - Check whether a user's hashed password needs to be replaced with a new hash.
File
- simple_ldap_user/
simple_ldap_user.password.inc, line 21 - Secure password hashing functions for user authentication.
Code
define('DRUPAL_HASH_COUNT', 15);