You are here

function _password_itoa64 in Simple LDAP 7

Same name and namespace in other branches
  1. 7.2 simple_ldap_user/simple_ldap_user.password.inc \_password_itoa64()

Returns a string for mapping an int to the corresponding base 64 character.

3 calls to _password_itoa64()
_password_base64_encode in simple_ldap_user/simple_ldap_user.password.inc
Encode bytes into printable base 64 using the *nix standard from crypt().
_password_generate_salt in simple_ldap_user/simple_ldap_user.password.inc
Generates a random base 64-encoded salt prefixed with settings for the hash.
_password_get_count_log2 in simple_ldap_user/simple_ldap_user.password.inc
Parse the log2 iteration count from a stored hash or setting string.

File

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

Code

function _password_itoa64() {
  return './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
}