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

Method finalize_into_reset

digest-io/src/reader.rs:107–109  ·  view source on GitHub ↗

Rrite result into provided array and reset the hasher instance.

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

Source from the content-addressed store, hash-verified

105
106 /// Rrite result into provided array and reset the hasher instance.
107 pub fn finalize_into_reset(&mut self, out: &mut Output<D>) {
108 Digest::finalize_into_reset(&mut self.hasher, out)
109 }
110}
111
112impl<D: Digest + Reset, R: io::Read> Reset for HashReader<D, R> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected