ky.korins.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 done(out: Array[Byte]): Unit

    Calculate a hash into specified byte array

  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 doneXor(out: Array[Byte]): Unit

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

  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: String): Hasher

    Updates a hasher by specified string, returns the same hasher

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

    Updates a hasher by specified short, returns the same hasher

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

    Updates a hasher by specified short, returns the same hasher

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

    Updates a hasher by specified short, returns the same hasher

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

    Updates a hasher by specified byte, returns the same hasher

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

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

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

    Updates a hasher by 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
    @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 doneBase16(len: Int): String

    Create a base16 representative of calculated hash for specified length

  12. def doneBase32(len: Int): String

    Create a base32 representative of calculated hash for specified length

  13. def doneBase32Hex(len: Int): String

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

  14. def doneBase64(len: Int): String

    Create a base64 representative of calculated hash for specified length

  15. def doneBase64Url(len: Int): String

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

  16. def doneBigInt(N: BigInt): BigInt

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

  17. 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] )
  18. 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] )
  19. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

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

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

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

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

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

  32. 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

  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Update hash as OutputStream.

    Update hash as OutputStream.

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

    Update hash as OutputStream.

    Update hash as OutputStream.

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

    Update hash as OutputStream.

    Update hash as OutputStream.

    Definition Classes
    Hasher → OutputStream

Inherited from OutputStream

Inherited from Flushable

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped