Packages

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

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Blake2bDigest
  2. ExtendedDigest
  3. Digest
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Blake2bDigest(digestBytes: Int, fanout: Int, depth: Int, leafLength: Int, nodeOffset: Long, nodeDepth: Int, innerHashLength: Int)
  2. new Blake2bDigest(digest: Blake2bDigest)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearKey(): Unit

    Overwrite the key if it is no longer used (zeroization)

  6. def clearSalt(): Unit

    Overwrite the salt (pepper) if it is secret and no longer used (zeroization)

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. 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
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def getAlgorithmName(): String

    return the algorithm name

    return the algorithm name

    returns

    the algorithm name

    Definition Classes
    Blake2bDigest → Digest
  12. 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
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. 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
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. 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
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. 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
  24. 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
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ExtendedDigest

Inherited from Digest

Inherited from AnyRef

Inherited from Any

Ungrouped