DEV Community

loading...

Blake3 Crytopgrahic Hash Function / Java Implementation?

Johannes Lichtenberger
I'm working on an Open Source temporal NoSQL document storage system called SirixDB written in Java (and a module in Kotlin) in my spare time.
・1 min read

Hi,

Does anyone know if there's a Java implementation of Blake3? Or at least an effort to implement it?

Kind regards
Johannes

Discussion (3)

Collapse
terkwood profile image
Felix Terkhorn • Edited

Nice. Just read about BLAKE3 after seeing your post. Hope you find some good news about someone writing a Java Impl. For those of us obsessed with rust, there's a reference implementation in that lang: github.com/BLAKE3-team/BLAKE3

Collapse
johanneslichtenberger profile image
Johannes Lichtenberger Author • Edited

Would be nice to replace Sha256 for a temporal data store (sirix.io) I'm creating. That said if someone has ideas how to best compress and reduce storage space of currently at max 512 hashes (128Bits from the Sha256 hash) in a database page I'd be very happy. If I sort the hashes I'd have to keep an additional map, so that's a no go. Otherwise delta encoding would be great of course.

Collapse
oconnor663 profile image
Jack O'Connor

There are some JNI bindings here, though I haven't tried them myself: github.com/sken77/BLAKE3jni