Algo

com.roundeights.hasher.Algo
See theAlgo companion object
class Algo extends WithPlainText[Digest]

A hashing algorithm

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def apply(value: PlainText): Digest

Generates a hash of a PlainText source

Generates a hash of a PlainText source

Attributes

Definition Classes

Generates a new digest for this algorithm

Generates a new digest for this algorithm

Attributes

Creates a foldable object. These are useful for accumulating the content of a hash from content contained in an iterable. Foldables enforce thread safety by only being usable once. Each call to add a value to returns a new instance that can then itself only be used once.

Creates a foldable object. These are useful for accumulating the content of a hash from content contained in an iterable. Foldables enforce thread safety by only being usable once. Each call to add a value to returns a new instance that can then itself only be used once.

Attributes

def name: String

Returns the name of this algorithm

Returns the name of this algorithm

Attributes

def tap(value: InputStream, codec: Codec): InputStreamTap

Decorates an input stream to generate a hash as data is read

Decorates an input stream to generate a hash as data is read

Attributes

def tap(value: InputStream): InputStreamTap

Decorates an input stream to generate a hash as data is read

Decorates an input stream to generate a hash as data is read

Attributes

def tap(value: Reader, encoding: Codec): ReaderTap

Decorates a Reader to generate a hash as data is read

Decorates a Reader to generate a hash as data is read

Attributes

def tap(value: Reader): ReaderTap

Decorates a Reader to generate a hash as data is read

Decorates a Reader to generate a hash as data is read

Attributes

def tap(value: Source, encoding: Codec): SourceTap

Decorates a Source to generate a hash as data is read

Decorates a Source to generate a hash as data is read

Attributes

def tap(value: Source): SourceTap

Decorates a Source to generate a hash as data is read

Decorates a Source to generate a hash as data is read

Attributes

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
Any

Inherited methods

def apply(value: Source): Digest

Constructor for accepting Sources.

Constructor for accepting Sources.

Attributes

Inherited from:
WithPlainText
def apply(value: Source, encoding: Codec): Digest

Constructor for accepting Sources.

Constructor for accepting Sources.

Attributes

Inherited from:
WithPlainText
def apply(value: Reader): Digest

Constructor for accepting Readers.

Constructor for accepting Readers.

Attributes

Inherited from:
WithPlainText
def apply(value: File): Digest

Constructor for accepting a File

Constructor for accepting a File

Attributes

Inherited from:
WithPlainText
def apply(value: InputStream): Digest

Constructor for accepting an InputStream.

Constructor for accepting an InputStream.

Attributes

Inherited from:
WithPlainText
def apply(value: StringBuilder): Digest

Constructor for accepting StringBuilders.

Constructor for accepting StringBuilders.

Attributes

Inherited from:
WithPlainText
def apply(value: String): Digest

Constructor for accepting strings.

Constructor for accepting strings.

Attributes

Inherited from:
WithPlainText
def apply(value: Array[Byte]): Digest

Constructor for accepting Byte arrays.

Constructor for accepting Byte arrays.

Attributes

Inherited from:
WithPlainText