lanndegeth
Newbie level 5

Hello, I'm using TCP/IP Stack, PIC18F97J60 with C18 compiler. I'm only sending string to server and receive its answer as a string again. When I send a string to server, I encrypt it with MD5 as follows:
ex:
BYTE vData[4]={'1','2','3','4'};
HASH_SUM theSum;
BYTE MD5result[16];
MD5Initialize(&theSum);
MD5AddData(&theSum, &vData,4);
MD5Calculate(&theSum,&MD5result);
Sending is OK. But how can I decrypt the MD5 encrypted data received from server? The TCP/IP Stack has any function about MD5 decrypting data? Thank you all.
ex:
BYTE vData[4]={'1','2','3','4'};
HASH_SUM theSum;
BYTE MD5result[16];
MD5Initialize(&theSum);
MD5AddData(&theSum, &vData,4);
MD5Calculate(&theSum,&MD5result);
Sending is OK. But how can I decrypt the MD5 encrypted data received from server? The TCP/IP Stack has any function about MD5 decrypting data? Thank you all.