Php/docs/function.ssdeep-fuzzy-compare
来自菜鸟教程
ssdeep_fuzzy_compare
(PECL ssdeep >= 1.0.0)
ssdeep_fuzzy_compare — Calculates the match score between two fuzzy hash signatures
说明
ssdeep_fuzzy_compare
( string $signature1
, string $signature2
) : int
Calculates the match score between signature1
and signature2
using [http://dfrws.org/2006/proceedings/12-Kornblum.pdf »
context-triggered piecewise hashing], and returns the match
score.
参数
signature1
- The first fuzzy hash signature string.
signature2
- The second fuzzy hash signature string.
返回值
Returns an integer from 0 to 100 on success, false
otherwise.