Skip to content

Node.js wrapper for the ssdeep fuzzy hashing library

License

Notifications You must be signed in to change notification settings

anyrun/node-ssdeep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssdeep

Build Status Coverage Status

Node.js wrapper for the ssdeep fuzzy hashing library.

Installation

You will need libfuzzy installed. All major Linux distributions have it available as a package:

sudo apt-get install libfuzzy-dev

You can also install it from sources.

Then, install the Node.js wrapper:

npm install ssdeep

Examples

To compute a fuzzy hash:

var hash = ssdeep.hash('text to hash');

To compute the fuzzy hash of a file:

var hash = ssdeep.hash_from_file('file_to_hash.txt');

To compare two fuzzy hashes:

var score = ssdeep.compare(hash1, hash2);

License

This package is under MIT license.

About

Node.js wrapper for the ssdeep fuzzy hashing library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%