CryptHashData - getting MD5 string

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi.

All i want now is to get MD5 hash string of array of bytes. I do "CryptAcquireContext" and "CryptCreateHash" with "CALG_MD5".

I am a bit confused with Win32 API documentation. It says "The <b>CryptHashData</b> function adds data to a specified <i>hash
object</i>..." Thats OK, now ho to get the hash value? Or maybe these Crypt* functions is made not for that..? Do i have to implement MD5 function by my self?

Thanks.






View the full article
 
Back
Top