class Blake2bDigest extends ExtendedDigest
This is a modified version of BouncyCastle's implementation of the cryptographic hash function Blakbe2b. It's changed to support additional parameters that are required to implement Blake2xb on top of Blake2x. Conversely, it disables other features (keying mechanism, personalization) not needed for Blake2xb
- Alphabetic
- By Inheritance
- Blake2bDigest
- ExtendedDigest
- Digest
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
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 clearKey(): Unit
Overwrite the key if it is no longer used (zeroization)
- def clearSalt(): Unit
Overwrite the salt (pepper) if it is secret and no longer used (zeroization)
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def doFinal(out: Array[Byte], outOffset: Int): Int
close the digest, producing the final digest value.
close the digest, producing the final digest value. The doFinal call leaves the digest reset. Key, salt and personal string remain.
- out
the array the digest is to be copied into.
- outOffset
the offset into the out array the digest is to start at.
- Definition Classes
- Blake2bDigest → Digest
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getAlgorithmName(): String
return the algorithm name
- def getByteLength(): Int
Return the size in bytes of the internal buffer the digest applies it's compression function to.
Return the size in bytes of the internal buffer the digest applies it's compression function to.
- returns
byte length of the digests internal buffer.
- Definition Classes
- Blake2bDigest → ExtendedDigest
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getDigestSize(): Int
return the size, in bytes, of the digest produced by this message digest.
return the size, in bytes, of the digest produced by this message digest.
- returns
the size, in bytes, of the digest produced by this message digest.
- Definition Classes
- Blake2bDigest → Digest
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def reset(): Unit
Reset the digest back to it's initial state.
Reset the digest back to it's initial state. The key, the salt and the personal string will remain for further computations.
- Definition Classes
- Blake2bDigest → Digest
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def update(message: Array[Byte], offset: Int, len: Int): Unit
update the message digest with a block of bytes.
update the message digest with a block of bytes.
- message
the byte array containing the data.
- offset
the offset into the byte array where the data starts.
- len
the length of the data.
- Definition Classes
- Blake2bDigest → Digest
- def update(b: Byte): Unit
update the message digest with a single byte.
update the message digest with a single byte.
- b
the input byte to be entered.
- Definition Classes
- Blake2bDigest → Digest
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])