MD5 implementation in program

  • Thread starter Thread starter Fizban
  • Start date Start date
F

Fizban

Hi all,

I'm trying to write a program that calculate an MD5 hash but i have no idea
how to implement this in C.
I know most languages have a build in function that calculate this but i
couldn't find any reference to such a function in C.

Does anyone know if there is such a thing?
What header do i need to add to have access to it?

Thanks in advance!
 
I'm trying to write a program that calculate an MD5 hash but i have no idea
how to implement this in C.
I know most languages have a build in function that calculate this but i
couldn't find any reference to such a function in C.

Does anyone know if there is such a thing?

Under Windows, you can use the Crypto API - CryptHashData. However
there is probably free MD5 source code available if you search for it.

Dave
 
Back
Top