https://github.com/tuister/ssdeep-java
A JNA wrapper for SSDeep(Fuzzy Hashing)
https://github.com/tuister/ssdeep-java
jna lsh ssdeep
Last synced: 5 months ago
JSON representation
A JNA wrapper for SSDeep(Fuzzy Hashing)
- Host: GitHub
- URL: https://github.com/tuister/ssdeep-java
- Owner: tuister
- License: apache-2.0
- Created: 2021-03-13T04:26:52.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-13T13:07:07.000Z (about 5 years ago)
- Last Synced: 2025-07-23T05:44:04.130Z (11 months ago)
- Topics: jna, lsh, ssdeep
- Language: Java
- Homepage:
- Size: 49.8 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ssdeep-java
ssdeep-java is a JNA wrapper for SSDeep(Fuzzy hashing)
> ssdeep is thread safe
## Usage
```xml
tech.tuister
ssdeep-java
0.0.1
```
```java
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](src/test/java/tech/tuister/ssdeep4j/FuzzyHashingTest.java)
## Performance
TODO