PEAR Manual
This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.
mixed File_Passwd_Authbasic::setMode (string $mode)
mixed File_Passwd_Authbasic::setMode
You can choose one of md5, sha or des.
ATTN: DES encryption not available on Win32!
Returns a PEAR_Error if a specific encryption mode is not supported.
the encryption mode to use
Returns TRUE on success, PEAR_Error on failure.
This function can not be called statically.