Node.js binding for the ssdeep CTPH library.
Install the fast-ssdeep package from the NPM registry using your package manager of choice.
Example:
npm install fast-ssdeep
# or
yarn add fast-ssdeep
# or
pnpm install fast-ssdeep
Asynchronously calculate an ssdeep hash based on the contents
argument, which can be a string or Buffer.
Synchronously calculate an ssdeep hash based on the contents
argument, which can be a string or Buffer.
Asynchronously compare two ssdeep hashes to generate a similarity score. Both hashes must be passed as strings, and a similarity between 0-100 will be returned.
Synchronously compare two ssdeep hashes to generate a similarity score. Both hashes must be passed as strings, and a similarity between 0-100 will be returned.