Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/litarvan/javamurmur

Simple Java Murmur 3 library
https://github.com/litarvan/javamurmur

Last synced: about 2 months ago
JSON representation

Simple Java Murmur 3 library

Awesome Lists containing this project

README

        

# JavaMurmur

Simple Murmur 3 Java library.
You can create your Hashing entries, current are : File, String or Byte Array.

```java
MurmurHasher hasher = new StringMurmurHasher();
MurmurHash hash = hasher.hash("Hello !");

System.out.println("Base 32 string hash : " + hash.toString());
System.out.println("Raw hash : " + hash.toInt());
```

You can remplace StringMurmurHasher by BytesMurmurHasher or FileMurmurHasher.