Trait

pt.kcry.blake3

Hasher

Related Doc: package blake3

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Permalink

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

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

    Permalink

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

  3. abstract def done(): Byte

    Permalink

    Calculate a hash as single byte

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

    Permalink

    Calculate a hash into specified part of array

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

    Permalink

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

  6. abstract def doneInt(): Int

    Permalink

    Calculate a hash as single int

  7. abstract def doneLong(): Long

    Permalink

    Calculate a hash as single long

  8. abstract def doneShort(): Short

    Permalink

    Calculate a hash as single short

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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    Updates a hasher by specified short, returns the same hasher

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

    Permalink

    Updates a hasher by specified short, returns the same hasher

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

    Permalink

    Updates a hasher by specified short, returns the same hasher

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

    Permalink

    Updates a hasher by specified byte, returns the same hasher

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

    Permalink

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

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Permalink

    Calculate a hash into specified ByteBuffer until the end of ByteBuffer

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

    Permalink

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

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

    Permalink

    Calculate a hash into specified byte array

  10. def doneBase16(len: Int): String

    Permalink

    Create a base16 representative of calculated hash for specified length

  11. def doneBase32(len: Int): String

    Permalink

    Create a base32 representative of calculated hash for specified length

  12. def doneBase32Hex(len: Int): String

    Permalink

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

  13. def doneBase64(len: Int): String

    Permalink

    Create a base64 representative of calculated hash for specified length

  14. def doneBase64Url(len: Int): String

    Permalink

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

  15. def doneBigInt(N: BigInt): BigInt

    Permalink

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

  16. def doneBigInt(bitLength: Int): BigInt

    Permalink

    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] )
  17. def doneHex(resultLength: Int): String

    Permalink

    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] )
  18. def doneXor(out: Array[Byte], off: Int, len: Int): Unit

    Permalink

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

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

    Permalink

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

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

    Permalink

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

  33. def update(input: InputStream): Hasher

    Permalink

    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

  34. def update(input: String): Hasher

    Permalink

    Updates a hasher by specified string, returns the same hasher

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

    Permalink

    Updates a hasher by provided bytes, returns the same hasher

  36. final def wait(): Unit

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

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

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

    Permalink

    Update hash as OutputStream.

    Update hash as OutputStream.

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

    Permalink

    Update hash as OutputStream.

    Update hash as OutputStream.

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

    Permalink

    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