File_Passwd_Authdigest::generatePassword

File_Passwd_Authdigest::generatePassword()

File_Passwd_Authdigest::generatePassword() -- Generate password

Description

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

Return value

Returns string encrypted password.

Note

This function should be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.