Skip to main content

Module hashing

Module hashing 

Source
Available on crate feature async only.
Expand description

Helpers that calcutate the hash of the data written and count the number of bytes written.

Functionsยง

hash
Copies all data from the passed reader to the passed writer. Afterwards, it also returns the resulting digest::Digest, as well as the number of bytes copied. The exact hash function used is left generic over all digest::Digest.