Hi to all. I have to control in a loop some files, I have to see if they has been modifyed.
I think the faster way is to :
1) read the first file, create an hash
2) while I've done it for all the files, recreate the hash of the first file and confronte it with the previous hash.
3) do the same for all the other files.
I have found a nice md5 help here but md5 is not so fast (crc32 is faster for example)
I have 2 questions :
Which hash should I use ? wich one is the faster? (I don't care about security, I know that more faster it is, more faster can I bruteforce it, but it is not a pass validation)
There are some function in C for crc32 and so on ? Or I have to write them by myself?