hash

common
val hash: ByteString

Returns the hash of the bytes supplied thus far and resets the internal state of this source.

Warning: This method is not idempotent. Each time this method is called its internal state is cleared. This starts a new hash with zero bytes supplied.