MCPcopy Create free account
hub / github.com/RustCrypto/utils / finalize_into_reset

Method finalize_into_reset

digest-io-async/src/reader.rs:123–125  ·  view source on GitHub ↗

Write result into provided array and reset the hasher instance.

(&mut self, out: &mut Output<D>)

Source from the content-addressed store, hash-verified

121
122 /// Write result into provided array and reset the hasher instance.
123 pub fn finalize_into_reset(&mut self, out: &mut Output<D>) {
124 Digest::finalize_into_reset(&mut self.hasher, out)
125 }
126}
127
128impl<D: Digest + Reset, R> Reset for HashReader<D, R> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected