tlsh is locality-sensitive hashing algorithm designed for a range of security and digital forensic applications. the goal of tlsh is to generate a hash digest of document such that if two digests have a low distance between them, then it is likely that the messages are similar to each other.