Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 619 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 619 Bytes

ssdeep-java

ssdeep-java is a JNA wrapper for SSDeep(Fuzzy hashing)

ssdeep is thread safe

Usage

<dependency>
    <groupId>tech.tuister</groupId>
    <artifactId>ssdeep-java</artifactId>
    <version>0.0.1</version>
</dependency>
public class Main {
    public static void main(String[] args) throws Exception{
        byte[] text = Utils.readFile(new File("/tmp/test.doc"));
        String hash = FuzzyHashing.fuzzyHash(text);
        System.out.println(hash);
    }
}

Demo:

FuzzyHashingTest

Performance

TODO