File_Passwd_Authbasic::setMode()

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

Referentiesamenvatting

mixed File_Passwd_Authbasic::setMode (string $mode)

Beschrijving

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.

Parameter

string $mode

the encryption mode to use

Return waarde

Geeft TRUE terug bij success, PEAR_Error als het faalt.

Note

Deze functie kan niet statisch worden aangeroepen.