Skip to content

kbandla/pydeep

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

pydeep

travis

Python/C bindings for the ssdeep library at http://ssdeep.sourceforge.net:

  • hash_buf / hash_bytes - returns the ssdeep hash for a given buffer
  • hash_file - returns the ssdeep hash for filepath
  • compare - returns the % match between 2 hashes
import pydeep
pydeep.hash_buf('somedata')
pydeep.hash_file('/path/to/file')
pydeep.compare('hash1','hash2')

Tested On

  • Debian 9 - x86_64
  • OSX 10.10 - x86_64
  • OSX 10.9 - x86_64
  • OSX 10.8 - x86_64
  • OSX 10.7 - x86_64, i386
  • CentOS 5 - x86_64, i386
  • Debian 7 - x86_64

Tested Against

  • ssdeep-2.14
  • ssdeep-2.13
  • ssdeep-2.11.1
  • ssdeep-2.10
  • ssdeep-2.9
  • ssdeep-2.8

Requires

  • Python 2.6 or later

Known Issues

  • ssdeep-2.11 is known to have issues. A workround is available.
  • ssdeep-2.10 should be avoided. There is a bug in the signature generation code.