API17:JLDAP::generatePassword
From Joomla! Documentation
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
JLDAP::generatePassword source code on BitBucket
Class JLDAP
Subpackage Client- Other versions of JLDAP::generatePassword
User contributed notes
Code Examples