File_Passwd_Smb::verifyEncryptedPasswd (Previous) (Next) MP3_Id

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

File_Passwd_Smb::generatePassword()

File_Passwd_Smb::generatePassword() -- Generate password

Description

Generate a "Samba" server style password.

The encryption mode can either be FILE_PASSWD_NT or FILE_PASSWD_LM.

Parameter

string $pass

the plaintext password to encrypt

string $mode

the encryption mode to use

Return value

Returns string encrypted password.

Note

This function should be called statically.

File_Passwd_Smb::verifyEncryptedPasswd (Previous) (Next) MP3_Id

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.