DEV Community

Johannes Lichtenberger
Johannes Lichtenberger

Posted on

2

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

Great read:

Is it Time to go Back to the Monolith?

History repeats itself. Everything old is new again and I’ve been around long enough to see ideas discarded, rediscovered and return triumphantly to overtake the fad. In recent years SQL has made a tremendous comeback from the dead. We love relational databases all over again. I think the Monolith will have its space odyssey moment again. Microservices and serverless are trends pushed by the cloud vendors, designed to sell us more cloud computing resources.

Microservices make very little sense financially for most use cases. Yes, they can ramp down. But when they scale up, they pay the costs in dividends. The increased observability costs alone line the pockets of the “big cloud” vendors.

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay