php8.5
Home/ Manual/ ssdeep / functions/ ssdeep_fuzzy_compare

ssdeep_fuzzy_compare

PHP function Edit on GitHub ✎

(PECL ssdeep >= 1.0.0)

Calculates the match score between two fuzzy hash signatures

Description

ssdeep_fuzzy_compare(string $signature1, string $signature2): int

Calculates the match score between signature1 and signature2 using context-triggered piecewise hashing, and returns the match score.

Parameters

signature1

The first fuzzy hash signature string.

signature2

The second fuzzy hash signature string.

Return Values

Returns an integer from 0 to 100 on success, false otherwise.

Source: reference/ssdeep/functions/ssdeep-fuzzy-compare.xml · from the official PHP manual (php/doc-en)