MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / New

Function New

crypto/tmhash/hash.go:14–16  ·  view source on GitHub ↗

New returns a new hash.Hash.

()

Source from the content-addressed store, hash-verified

12
13// New returns a new hash.Hash.
14func New() hash.Hash {
15 return sha256.New()
16}
17
18// Sum returns the SHA256 of the bz.
19func Sum(bz []byte) []byte {

Callers 3

HashConsensusParamsFunction · 0.92
RunMethod · 0.92
TestHashFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestHashFunction · 0.74