I need to compare two different files of the instance "File" in Java and want to do this with a fast hash function.
– Hashing the 20 first lines in File 1
– Hashing the 20 first lines in File 2
– Compare the two hashes and return true if those are equal.
I want to use the "fastest" hash function ever been implemented in Java. Which one would you choose?