You are here

constant DRUPAL_HASH_LENGTH in Drupal 7

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
Secure password hashing functions for user authentication.

Code

define('DRUPAL_HASH_LENGTH', 55);