API17:JLDAP::generatePassword
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JLDAP::generatePassword
Description
Generates a LDAP compatible password.
Description:JLDAP::generatePassword [Edit Descripton]
Synopsis
public JLDAP->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 in
libraries/joomla/client/ldap.php
Referenced by
See also
SeeAlso:JLDAP::generatePassword
Examples
<CodeExamplesForm />
