DEV Community

Johannes Lichtenberger
Johannes Lichtenberger

Posted on

Blake3 Crytopgrahic Hash Function / Java Implementation?

Hi,

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

Kind regards
Johannes

Top comments (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 • 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