Java version of the TLSH similarity hashing algorithm