ePass1000 C/C++ API Reference Manual Version 2.0 |
The MD5_Hash function performs MD5 hash of the given message.
unsigned char* __stdcall MD5_Hash( unsigned char* pucData, // [in] unsigned long ulLength, // [in] unsigned char* pucDigest // [out] );
MD5 hash algorithm is defined in RFC-1321. You may found this document on http://www.rfc-editor.org/rfc/rfc1321.txt.
This function returns a pointer to the digest buffer.