14-06-2011, 08:59 AM
السلام عليكم و رحمة الله
هل تقصد البرنامج PasswordsPro ؟ او احد منتجات نفس الشركة المبرمجة له ؟
اذا كان كذلك فان الشركة وضعت كل ما تحتاجه في مجلد \Modules\API\.. من معلومات عن ما تصدره المكتبة و هيكل الدوال...
اقتباس:
بالتوفيق ان شاء الله
هل تقصد البرنامج PasswordsPro ؟ او احد منتجات نفس الشركة المبرمجة له ؟
اذا كان كذلك فان الشركة وضعت كل ما تحتاجه في مجلد \Modules\API\.. من معلومات عن ما تصدره المكتبة و هيكل الدوال...
اقتباس:
PHP كود :
The GetInfo() function is to fill the MODULEINFO structure with information on the module:
typedef struct {
DWORD dwFlags; // Flags
TCHAR* szAbout; // Address of text line containing module information
TCHAR* szType; // Address of text line containing hash type
} MODULEINFO;
PHP كود :
The GetHash() function generates hash using the following parameters of the HASHINFO structure:
typedef struct {
unsigned char* pHash; // Address of buffer for saving hash
unsigned char* szPassword; // Password
int nPasswordLen; // Password length
unsigned char* szSalt; // Salt
int nSaltLen; // Salt length
unsigned char* szName; // User name
int nNameLen; // User name length
DWORD dwFlags; // Flags
} HASHINFO;

