I am building a web tool to check whether the submitted content is taken from web or is it submitter own work. A plagiarism detector.
I have some idea that I can generated check sum and use that as a key to compare with other entries. However, if someone has made some small changes like including/removing comments, changing variables/function name and so on then the checksum will be different, so this approach won't work.
Any suggestions for a better way?