In my webserver I have to verify the user entered data with the data present in the message authentication code. while sending the page , i have generated the according HMAC by using HMAC<SHA >(pbKey,strlen((char*)pbKey)).CalculateDigest(pbOutputBuffer, pbData, strlen((char*)pbData));
how can I compare weather the user entered data, "usrdata" is correct or not? i wish to use the verifyDigestfunction. but i donno how to retreive the mac from the user message.(i am using unix sockets). please help me, thank you.
