API17

API17:JLDAP::generatePassword

From Joomla! Documentation

Joomla 11.1 JLDAP::generatePassword

Description

Generates a LDAP compatible password.


public function generatePassword (
        $password
        $type='md5'
)
Parameter Type Default Description
$password string password Clear text password to encrypt
$type string 'md5' type Type of password hash, either md5 or SHA
  • Returns string encrypted password
  • Defined on line 483 of libraries/joomla/client/ldap.php

See also


User contributed notes

Code Examples