You are here

constant DRUPAL_MAX_HASH_COUNT in Simple LDAP 7

Same name and namespace in other branches
  1. 7.2 simple_ldap_user/simple_ldap_user.password.inc \DRUPAL_MAX_HASH_COUNT

The maximum allowed log2 number of iterations for password stretching.

2 uses of DRUPAL_MAX_HASH_COUNT
_password_crypt in simple_ldap_user/simple_ldap_user.password.inc
Hash a password using a secure stretched hash.
_password_enforce_log2_boundaries in simple_ldap_user/simple_ldap_user.password.inc
Ensures that $count_log2 is within set bounds.

File

simple_ldap_user/simple_ldap_user.password.inc, line 31
Secure password hashing functions for user authentication.

Code

define('DRUPAL_MAX_HASH_COUNT', 30);