package hasher
- Alphabetic
- Public
- All
Type Members
-
class
Algo extends WithPlainText[Digest]
A hashing algorithm
-
trait
BufferedTap extends Tap
A tap that buffers the characters before writing to the digest
-
trait
Digest extends AnyRef
The base class for a hashing algorithm
-
class
Foldable extends WithPlainText[Foldable]
A class designed for accumulating the values in a hash using a fold.
A class designed for accumulating the values in a hash using a fold.
This class attempts to enforce ordered digest creation by rendering each instance unusable the each time you add a value. Adding a value then returns a new instance, which must be used for adding more data.
Presenting an API like this allows for more efficient code, while still maintaining an outwardly immutable API. It also helps prevent race conditions by ensuring continued forward motion.
-
case class
Hash(bytes: Array[Byte]) extends Equals with Product with Serializable
Represents a hash
-
class
Hasher extends WithAlgo[Digest]
A helper for generating crypto hashes from a value
-
class
InputStreamTap extends InputStream with BufferedTap
An InputStream that generates a hash
-
trait
MutableDigest extends Digest
A digest that allows additional data to be added to it
-
trait
PlainText extends AnyRef
The base class for plain text representations
-
class
ReaderTap extends Reader with Tap
A Reader that generates a hash
-
class
SourceTap extends Source with BufferedTap
Wraps a source and generates a Source as data flows through it
-
trait
Tap extends Digest
A tap is a specialized digest that decorates streams
-
trait
WithAlgo[A] extends AnyRef
A helper class for performing some operation with various algorithms
-
trait
WithPlainText[A] extends AnyRef
Performs some operation using a plain text value