string File_Passwd_Cvs::generatePassword (string $pass [, string $salt = null])
string File_Passwd_Cvs::generatePassword
Generate a "CVS" pserver style password.
the plaintext password to encrypt
the salt to use for encryption (usually empty)
Returns string encrypted password.
Example 37-1. File_Passwd_Cvs::generatePassword()
require_once 'File/Passwd/Cvs.php'; $pass = File_Passwd_Cvs::generatePassword('secret');
This function should be called statically.