MCPcopy Create free account
hub / github.com/tendermint/tendermint / ExampleSha256

Function ExampleSha256

crypto/example_test.go:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21)
22
23func ExampleSha256() {
24 sum := crypto.Sha256([]byte("This is Tendermint"))
25 fmt.Printf("%x\n", sum)
26 // Output:
27 // f91afb642f3d1c87c17eb01aae5cb65c242dfdbe7cf1066cc260f4ce5d33b94e
28}

Callers

nothing calls this directly

Calls 1

Sha256Function · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…