ssdeep Publisher's description
from Denis Bilenko
Python wrapper for ssdeep fuzzy hashing library.
This is a straightforward Python wrapper for ssdeep by Jesse Kornblum, which is 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.
To compute a fuzzy hash, use hash function:
>>> import ssdeep
>>> hash1 = ssdeep.hash('Also called fuzzy hashes, Ctph can match inputs that have homologies.')
>>> hash2 = ssdeep.hash('Also called fuzzy hashes, CTPH can match inputs that have homologies.')
The compare function returns the match between 2 hashes, an integer value from 0 (no match) to 100.
>>> ssdeep.compare(hash1, hash2)
The hash_from_file accepts filename as argument and calculates the hash of the contents of the file.
System Requirements:No special requirements.
Program Release Status:
Program Install Support: Install and Uninstall