pt.kcry.blake3

Hasher

trait Hasher extends OutputStream

Linear Supertypes
OutputStream, Flushable, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hasher
  2. OutputStream
  3. Flushable
  4. Closeable
  5. AutoCloseable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def done(out: ByteBuffer, len: Int): Unit

    Calculate a hash into specified ByteBuffer with specified output length in bytes

  2. abstract def done(out: OutputStream, len: Int): Unit

    Calculate a hash into specified OutputStream with specified output length in bytes

  3. abstract def done(): Byte

    Calculate a hash as single byte

  4. abstract def done(out: Array[Byte], offset: Int, len: Int): Unit

    Calculate a hash into specified part of array

  5. abstract def doneCallBack[T](out: (Byte) ⇒ T, len: Int): Unit

    Calculate a hash with specified length and consume it via callback.

  6. abstract def doneInt(): Int

    Calculate a hash as single int

  7. abstract def doneLong(): Long

    Calculate a hash as single long

  8. abstract def doneShort(): Short

    Calculate a hash as single short

  9. abstract def doneXor(in: ByteBuffer, out: ByteBuffer, len: Int): Unit

    Calculate a hash into specified ByteBuffer with specified output length in bytes and and apply it as XOR with specified part of existed values

  10. abstract def doneXor(in: InputStream, out: OutputStream, len: Int): Unit

    Calculate a hash into specified OutputStream with specified output length in bytes and and apply it as XOR with specified part of existed values

  11. abstract def doneXor(in: Array[Byte], inOff: Int, out: Array[Byte], outOff: Int, len: Int): Unit

    Calculate a hash into specified part of array and apply it as XOR with specified part of existed values

  12. abstract def doneXorCallBack[T](in: () ⇒ Byte, out: (Byte) ⇒ T, len: Int): Unit

    Calculate a hash with specified size and consume it via output callback, and and apply it as XOR value which is get's via in callback.

  13. abstract def update(input: ByteBuffer, len: Int): Hasher

    Updates a hasher from specified ByteBuffer with no more than len bytes, returns the same hasher

  14. abstract def update(input: InputStream, len: Int): Hasher

    Updates a hasher from specified InputStream, returns the same hasher

    Updates a hasher from specified InputStream, returns the same hasher

    It reads input until it returns -1 or it reads len bytes

  15. abstract def update(input: Long): Hasher

    Updates a hasher by specified short, returns the same hasher

  16. abstract def update(input: Int): Hasher

    Updates a hasher by specified short, returns the same hasher

  17. abstract def update(input: Short): Hasher

    Updates a hasher by specified short, returns the same hasher

  18. abstract def update(input: Byte): Hasher

    Updates a hasher by specified byte, returns the same hasher

  19. abstract def update(input: Array[Byte], offset: Int, len: Int): Hasher

    Updates a hasher by specified part of provided bytes, returns the same hasher

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @throws( ... )
  8. def close(): Unit

    Definition Classes
    OutputStream → Closeable → AutoCloseable
    Annotations
    @throws( classOf[java.io.IOException] )
  9. def done(out: ByteBuffer): Unit

    Calculate a hash into specified ByteBuffer until the end of ByteBuffer

  10. def done(len: Int): Array[Byte]

    Create a new byte array of specified length and calculate a hash into this array

  11. def done(out: Array[Byte]): Unit

    Calculate a hash into specified byte array

  12. def doneBase16(len: Int): String

    Create a base16 representative of calculated hash for specified length

  13. def doneBase32(len: Int): String

    Create a base32 representative of calculated hash for specified length

  14. def doneBase32Hex(len: Int): String

    Create a base32 hex-compatibly representative of calculated hash for specified length

  15. def doneBase64(len: Int): String

    Create a base64 representative of calculated hash for specified length

  16. def doneBase64Url(len: Int): String

    Create a base64 URL-safe representative of calculated hash for specified length

  17. def doneBigInt(N: BigInt): BigInt

    Calculate a hash and return it as positive BigInt (mod N)

  18. def doneBigInt(bitLength: Int): BigInt

    Calculate a hash and return it as positive BigInt with specified length in bits

    Calculate a hash and return it as positive BigInt with specified length in bits

    Annotations
    @throws( classOf[IllegalArgumentException] )
  19. def doneHex(resultLength: Int): String

    Calculate a hash and return as hex encoded string with specified output length in characters

    Calculate a hash and return as hex encoded string with specified output length in characters

    Annotations
    @throws( classOf[IllegalArgumentException] )
  20. def doneXor(out: Array[Byte], off: Int, len: Int): Unit

    Calculate a hash into specified byte array and apply it as XOR to existed value

  21. def doneXor(out: Array[Byte]): Unit

    Calculate a hash into specified byte array and apply it as XOR to existed value

  22. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  24. def flush(): Unit

    Definition Classes
    OutputStream → Flushable
    Annotations
    @throws( classOf[java.io.IOException] )
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def update(input: ByteBuffer): Hasher

    Updates a hasher from specified ByteBuffer until the end, returns the same hasher

  34. def update(input: InputStream): Hasher

    Updates a hasher from specified InputStream, returns the same hasher

    Updates a hasher from specified InputStream, returns the same hasher

    It reads input until it returns -1

  35. def update(input: String): Hasher

    Updates a hasher by specified string, returns the same hasher

  36. def update(input: Array[Byte]): Hasher

    Updates a hasher by provided bytes, returns the same hasher

  37. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def write(b: Array[Byte], off: Int, len: Int): Unit

    Update hash as OutputStream.

    Update hash as OutputStream.

    Definition Classes
    Hasher → OutputStream
  41. def write(b: Array[Byte]): Unit

    Update hash as OutputStream.

    Update hash as OutputStream.

    Definition Classes
    Hasher → OutputStream
  42. def write(b: Int): Unit

    Update hash as OutputStream.

    Update hash as OutputStream.

    Definition Classes
    Hasher → OutputStream

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from OutputStream

Inherited from Flushable

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped