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

Method finalize

digest-io/src/writer.rs:65–67  ·  view source on GitHub ↗

Retrieve result and consume HashWriter instance.

(self)

Source from the content-addressed store, hash-verified

63
64 /// Retrieve result and consume HashWriter instance.
65 pub fn finalize(self) -> Output<D> {
66 self.hasher.finalize()
67 }
68
69 /// Write result into provided array and consume the HashWriter instance.
70 pub fn finalize_into(self, out: &mut Output<D>) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected