Skip to content

rctcwyvrn/blake3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLAKE3 in Java

An unoptimized translation of the blake3 reference implementation from rust to java.

Maven

<dependency>
  <groupId>io.github.rctcwyvrn</groupId>
  <artifactId>blake3</artifactId>
  <version>1.3</version>
</dependency>

Examples

        // Hashing bytes
        Blake3 hasher = Blake3.newInstance();
        hasher.update("This is a string".getBytes());
        String hexhash = hasher.hexdigest();
        // Hashing files
        Blake3 hasher = Blake3.newInstance();
        hasher.update(new File(filename));
        String filehash = hasher.hexdigest();

If what you want are java bindings for the fully optimized blake3, try: https://github.com/sken77/BLAKE3jni

About

An unoptimized BLAKE3 implementation in Java

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages