I am trying to a CRC check on a file against the CRC it should be so if any changes to the file were made, it will not continue with the program.
Using the search function, I found this thread most useful..
and google this page was most useful...
It does exactly what I want except that I don't completely understand the concept here...
What if I don't know the 'polynomial' of my file, how will I generate a lookup table? How do I find the 'polynomial' of the file and how can I get the values for the table? Is the table even necessary if I already know the CRC I am checking for?
So, generate CRC of a given file, match it against the true CRC that it should be. The lightswitch hasn't gone off in my head yet of how all this matches up.. =[