JClientLdap::generatePassword
Generates a LDAP compatible password
Signature
public function generatePassword(string
$password,
[string
$type = 'md5'] )
Parameters
-
$password
- Clear text password to encrypt
-
$type
- Type of password hash, either md5 or SHA
Returns
- string
- Encrypted password