File_Passwd_Unix::isShadowed (Previous) (Next) MP3_Id

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

File_Passwd_Unix::generatePassword()

File_Passwd_Unix::generatePassword() -- Generate password

Beschreibung

Generate a "Un*x" style password.

The encryption mode can be of any type File_Passwd provides, although FILE_PASSWD_MD5 and FILE_PASSWD_DES are the most common.

Parameter

string $pass

the plaintext password to encrypt

string $mode

the encryption mode to use

string $salt

the salt to use for encryption (usually empty)

Rückgabewert

Returns string encrypted password, or PEAR_Error FILE_PASSWD_E_INVALID_ENC_MODE if encryption mode is not supported.

Hinweise

Diese Methode sollte statisch aufgerufen werden..

File_Passwd_Unix::isShadowed (Previous) (Next) MP3_Id

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.