JUserHelper::getCryptedPassword
Formats a password using the current encryption.
Signature
public function getCryptedPassword(string
$plaintext,
[string
$salt = '',
[string
$encryption = 'md5-hex',
[boolean
$show_encrypt = false]]] )
Parameters
-
$plaintext
- The plaintext password to encrypt.
-
$salt
- The salt to use to encrypt the password. []
-
$encryption
- The kind of password encryption to use.
-
$show_encrypt
- Some password systems prepend the kind of
Returns
- string
- The encrypted password.