class Blake3Java extends AnyRef
We forked this from https://github.com/rctcwyvrn/blake3 to support old JDK versions
Translation of the Blake3 reference implementation from Rust to Java BLAKE3 Source: https://github.com/BLAKE3-team/BLAKE3 Translator: rctcwyvrn
- Alphabetic
- By Inheritance
- Blake3Java
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def digest(): Array[Byte]
Generate the blake3 hash for the current tree with the default byte length of 32
Generate the blake3 hash for the current tree with the default byte length of 32
- returns
The byte array representing the hash
- def digest(hashLen: Int): Array[Byte]
Generate the blake3 hash for the current tree with the given byte length
Generate the blake3 hash for the current tree with the given byte length
- hashLen
The number of bytes of hash to return
- returns
The byte array representing the hash
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hexdigest(): String
Generate the blake3 hash for the current tree with the default byte length of 32
Generate the blake3 hash for the current tree with the default byte length of 32
- returns
The hex string representing the hash
- def hexdigest(hashLen: Int): String
Generate the blake3 hash for the current tree with the given byte length
Generate the blake3 hash for the current tree with the given byte length
- hashLen
The number of bytes of hash to return
- returns
The hex string representing the hash
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def update(input: Array[Byte]): Unit
Appends new data to the hash tree
Appends new data to the hash tree
- input
Data to be added
- def update(file: File): Unit
Append the byte contents of the file to the hash tree
Append the byte contents of the file to the hash tree
- file
File to be added
- Exceptions thrown
java.io.IOException
If the file does not exist
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()