MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / sha256_deterministic

Function sha256_deterministic

nodedb/src/control/planner/wasm/runtime.rs:117–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115
116 #[test]
117 fn sha256_deterministic() {
118 let h1 = sha256(b"hello");
119 let h2 = sha256(b"hello");
120 assert_eq!(h1, h2);
121 }
122
123 #[test]
124 fn sha256_different_inputs() {

Callers

nothing calls this directly

Calls 1

sha256Function · 0.85

Tested by

no test coverage detected