0

I have a HANDLE of a file, hFile. I want to find its MD5, How can I? I just need a little guidance.

HANDLE hFile=myClass.getHandle(); calculateMd5(hFile); calculatemMd5(HANDLE hFile) { ...??? } 
1

1 Answer 1

1

Example C Program: Creating an MD5 Hash from File Content

Sign up to request clarification or add additional context in comments.

4 Comments

I have seen this already. but where can I find winencrpyt.dll after including winencrpyt.h?
You need to use wincrypt.h header and crypt32.lib library
When I include wincrypt.h, should I add crypt32.lib explicitly? because I'm getting link error. and how to add crypt32.lib in Qt project?
@NoorNawaz yes, you should all it explicitly. Check how to add external libraries at Qt projects here.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.