Generation of hash code for files and small changes