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.

You can install python-ssdeep with pip:

$ pip install ssdeep

See Installation for more information.



  • The initial version was published in 2010 by Denis Bilenko on bitbucket.
  • Since 2012 the source is maintained by PhiBo (DinoTools) and has been published on github.
  • In 2014 the wrapper has been rewritten to use cffi.

Indices and tables