MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / hashing_value

Method hashing_value

atomic-canonical/src/node.rs:206–208  ·  view source on GitHub ↗

The value used for the content hash: excludes both `proof` and `contentHash`. Delegates to [`crate::proof::hashing_view`].

(&self)

Source from the content-addressed store, hash-verified

204 /// The value used for the content hash: excludes both `proof` and
205 /// `contentHash`. Delegates to [`crate::proof::hashing_view`].
206 pub fn hashing_value(&self) -> serde_json::Value {
207 crate::proof::hashing_view(&self.to_value())
208 }
209
210 /// Canonical bytes for signing (JCS of `signing_value`).
211 pub fn signing_bytes(&self) -> Vec<u8> {

Callers 1

compute_content_hashMethod · 0.45

Calls 2

hashing_viewFunction · 0.85
to_valueMethod · 0.45

Tested by

no test coverage detected