DRUPAL_HASH_LENGTH
The expected (and maximum) number of characters in a hashed password.
2 uses of DRUPAL_HASH_LENGTH
- user_needs_new_hash in includes/
password.inc - Check whether a user's hashed password needs to be replaced with a new hash.
- _password_crypt in includes/
password.inc - Hash a password using a secure stretched hash.
File
-
includes/
password.inc, line 36
Code
define('DRUPAL_HASH_LENGTH', 55);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.