File_Passwd_Authdigest::generatePassword()

File_Passwd_Authdigest::generatePassword() -- Generate password

Synopsis

string File_Passwd_Authdigest::generatePassword (string $user, string $realm, string $pass)

Beschreibung

Generate a password usable for "AuthDigest" authentication.

Parameter

string $user

the username

string $realm

the realm the user is in

string $pass

the plaintext password

Rückgabewert

Returns string encrypted password.

Beispiel

Hinweise

Diese Methode sollte statisch aufgerufen werden..