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

Function sha256_different_inputs

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

Source from the content-addressed store, hash-verified

122
123 #[test]
124 fn sha256_different_inputs() {
125 let h1 = sha256(b"hello");
126 let h2 = sha256(b"world");
127 assert_ne!(h1, h2);
128 }
129
130 #[test]
131 fn hex_encoding() {

Callers

nothing calls this directly

Calls 1

sha256Function · 0.85

Tested by

no test coverage detected