BufferedTap

com.roundeights.hasher.BufferedTap
trait BufferedTap extends Tap

A tap that buffers the characters before writing to the digest

Attributes

Graph
Supertypes
trait Tap
trait Digest
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

protected def digest: MutableDigest

The digest to write to

The digest to write to

Attributes

Concrete methods

protected def addByteToDigest(byte: Byte): Byte

Adds a byte to the digest

Adds a byte to the digest

Attributes

override def hash: Hash

Calculates the hash of the collected bytes so far

Calculates the hash of the collected bytes so far

Attributes

Definition Classes
override def hash_=(vs: Hash): Boolean

Determines whether the collected bytes compute to a given hash

Determines whether the collected bytes compute to a given hash

Attributes

Definition Classes
override def name: String

Returns the name of this algorithm

Returns the name of this algorithm

Attributes

Definition Classes

Inherited methods

def bytes: Array[Byte]

Returns the raw bytes from the hash this digest generates

Returns the raw bytes from the hash this digest generates

Attributes

Inherited from:
Digest
def hash_=(vs: Digest): Boolean

Determines whether the collected bytes compute to a given hash

Determines whether the collected bytes compute to a given hash

Attributes

Inherited from:
Digest
def hash_=(vs: Array[Byte]): Boolean

Determines whether the collected bytes compute to a given hash

Determines whether the collected bytes compute to a given hash

Attributes

Inherited from:
Digest
def hash_=(vs: String): Boolean

Determines whether the collected bytes compute to a given hash

Determines whether the collected bytes compute to a given hash

Attributes

Inherited from:
Digest
def hex: String

Returns this digest as a hex encoded string

Returns this digest as a hex encoded string

Attributes

Inherited from:
Digest
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Definition Classes
Digest -> Any
Inherited from:
Digest