File_Passwd_Cvs::generatePassword()

File_Passwd_Cvs::generatePassword() -- Generate password

Referentiesamenvatting

string File_Passwd_Cvs::generatePassword (string $pass [, string $salt = null])

Beschrijving

Generate a "CVS" pserver style password.

Parameter

string $pass

the plaintext password to encrypt

string $salt

the salt to use for encryption (usually empty)

Return waarde

Returns string encrypted password.

Voorbeeld

Note

Deze functie zou statisch moeten worden aangeroepen.