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

Method finalize_into_reset

digest-io/src/writer.rs:112–114  ·  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

110
111 /// Write result into provided array and reset the hasher instance.
112 pub fn finalize_into_reset(&mut self, out: &mut Output<D>) {
113 Digest::finalize_into_reset(&mut self.hasher, out)
114 }
115}
116
117impl<D: Digest + Reset, W: io::Write> Reset for HashWriter<D, W> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected