Search for password

  1. Search 9.5.x for password
  2. Search 8.9.x for password
  3. Search 10.3.x for password
  4. Search 11.x for password
  5. Other projects
Title Object type File name Summary
user_form_test_current_password_submit function modules/user/tests/user_form_test.module Submit function for the test form for user_validate_current_pass().
user_hash_password function includes/password.inc Hash a password using a secure hash.
user_password function modules/user/user.module Generate a random alphanumeric password.
_password_base64_encode function includes/password.inc Encodes bytes into printable base 64 using the *nix standard from crypt().
_password_crypt function includes/password.inc Hash a password using a secure stretched hash.
_password_enforce_log2_boundaries function includes/password.inc Ensures that $count_log2 is within set bounds.
_password_generate_salt function includes/password.inc Generates a random base 64-encoded salt prefixed with settings for the hash.
_password_get_count_log2 function includes/password.inc Parse the log2 iteration count from a stored hash or setting string.
_password_itoa64 function includes/password.inc Returns a string for mapping an int to the corresponding base 64 character.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.