PEAR-Handbuch | ||
---|---|---|
Zurück | Nach vorne |
Generate a password usable for "AuthBasic" authentication.
The encryption mode can either be FILE_PASSWD_DES, FILE_PASSWD_SHA or FILE_PASSWD_MD5.
the plaintext password to encrypt
the encryption mode to use
the salt to use for encryption (usually empty)
Returns string encrypted password, or PEAR_Error FILE_PASSWD_E_INVALID_ENC_MODE if encryption mode is not supported.
Beispiel 38-1. File_Passwd_Authbasic::generatePassword()
|
Zurück | Zum Anfang | Nach vorne |
File_Passwd_Authbasic::listModes() | Nach oben | MP3_Id |