File_Passwd_Authbasic::setMode()

File_Passwd_Authbasic::setMode() -- Set the encryption mode

Synopsis

mixed File_Passwd_Authbasic::setMode (string $mode)

Opis

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.

Parametr

string $mode

the encryption mode to use

Zwracana wartość

Zwraca TRUE w przypadku powodzenia, PEAR_Error w przypadku niepowodzenia.

Uwagi

Ta funkcja nie może być wywołana statycznie.