MutableDigest

com.roundeights.hasher.MutableDigest
trait MutableDigest extends Digest

A digest that allows additional data to be added to it

Attributes

Graph
Supertypes
trait Digest
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def add(bytes: Array[Byte], length: Int): MutableDigest

Adds a list of bytes to this algorithm

Adds a list of bytes to this algorithm

Attributes

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: Hash

Calculates the hash of the collected bytes so far

Calculates the hash of the collected bytes so far

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

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
def name: String

Returns the name of this algorithm

Returns the name of this algorithm

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