New answers tagged

1

The main problem of your code is that you expect the md parameter to be a string. In C the unsigned char * is not an indicator for a string. Instead it is often for storing binary data. In this case md is also just a pointer where the MD5 functions stores it's 16 byte of binary data. If you want to print the content you have to encode it e.g. hexadecimal or ...


Top 50 recent answers are included