Hash a stream of bytes and return a Future
of the hash data.
Hash a stream of bytes and return a Future
of the hash data.
The overhead of materializing a stream graph makes this much more expensive than just
calling the HashAlgorithm
directly if the data involved is small. This should be used only
for relatively large, infrequent activities. (The primary use case for a StreamHash
is to
use StreamHash.hashingSink when you're already running a graph.)
A graph akka.stream.scaladsl.Sink that takes in bytes and materializes a hash.
Utilities providing streaming hash functions.