fs2.hashing.Hasher
See theHasher companion object
Mutable data structure that incrementally computes a hash from chunks of bytes.
To compute a hash, call update
one or more times and then call hash
. The result of hash
is the hash value of all the bytes since the last call to hash
.
A Hasher
does **not** store all bytes between calls to hash
and hence is safe for computing hashes over very large data sets using constant memory.
A Hasher
may be called from different fibers but operations on a hash should not be called concurrently.
Attributes
- Companion
- object
- Source
- Hasher.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article