FP-Devicer - v1.6.1
    Preparing search index...

    Function getHash

    • Generate a TLSH (Trend Micro Locality Sensitive Hash) from a string.

      TLSH is a fuzzy hash: similar inputs produce similar (close) hashes, enabling approximate-match comparisons via Hamming-like distance. Non-string inputs are first serialised with canonicalizedStringify.

      Parameters

      • data: string

        Input string (or any value that will be stringified).

      Returns string

      A TLSH hex-encoded hash string.