Function tvix_eval::builtins::hash::hash

source ยท
fn hash<D: Digest + Write>(r: impl Read) -> Result<Output<D>, ErrorKind>
Expand description

Reads through all data from the passed reader, and returns the resulting Digest. The exact hash function used is left generic over all Digest.