API17

JLDAP::generatePassword

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JLDAP::generatePassword[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]