ssdeep

Fuzzy hashing makes it easy to identify similar or almost identical text by simply comparing two hashes against each other.


The ssdeep project page describes it as a library for "...computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies. Such inputs have sequences of identical bytes in the same order, although bytes in between these sequences may be different in both content and length".

For an in depth paper explaining context triggered piecewise hashes please see http://dfrws.org/2006/proceedings/12-Kornblum.pdf


ssdeep API Information
---------------------------

Requires at least ssdeep v2.5.

This extensions wraps the ssdeep fuzzy hashing API created by Jesse Kornblum.

For more information about ssdeep, the API and context triggered piecewise hashing please see http://ssdeep.sourceforge.net/


ssdeep Licensing Exemption
---------------------------

Although ssdeep and the fuzzy hashing API are usually licensed under GNU GPLv2 Jesse Kornblum has licenced them to PECL under the terms of the Perl Artistic Licence with the following declaration:
"I hereby license ssdeep, the current version and all subsequent versions, under the terms of the Perl Artistic License, for inclusion into the PECL."
See http://news.php.net/php.pecl.dev/7625 for the verbatim email.

License: New BSD License

Latest releases

Version Release Download
1.1.0 2018-02-20 ssdeep-1.1.0.tgz
1.0.4 2014-01-22 ssdeep-1.0.4.tgz
1.0.3 2014-01-21 ssdeep-1.0.3.tgz
1.0.2 2010-11-10 ssdeep-1.0.2.tgz
1.0.1 2010-11-06 ssdeep-1.0.1.tgz
Show all releases

Changelog

Version Message
1.1.0 * Patch for PHP 7 support (remicollet)
* Add basic Windows support (weltling)
1.0.4 This is a build maintenance release only so there is no need to upgrade.

- Make use of --with-libdir so installers can override the lib default (RHEL uses lib64 for example)
- Clean up the build script to standardise the code constructs used
- Add LICENSE, README and CREDITS to PECL package configuration
1.0.3 Bug #60347 OSX can't build as .so hardcoded
1.0.2 Patch bug in library availablity code when building with ssdeep path specified (--with-ssdeep=/tmp/ssdeep-2.6 for example) to the upstream packages build directory.
1.0.1 Add in better library availability checking script and remove extraneous docs, which are now available at http://php.net/ssdeep
Show complete changelog