Create a Signature or checksum

Hi,
I want to create a function which will tell if me the last packet i got from the server is identical to the one i got now.
I thought about put in an array and just compare the two but it will be very inefficient.
So, a checksum or a signature implementation will ( i think ...) do the work.
But how do i make a checksum for let say a const char * data type?

Any help will be thankful!

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion