Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
14
func
New() hash.Hash {
15
return
sha256.New()
16
}
17
18
// Sum returns the SHA256 of the bz.
19
func
Sum(bz []byte) []byte {
Callers
3
HashConsensusParams
Function · 0.92
Run
Method · 0.92
TestHash
Function · 0.92
Calls
no outgoing calls
Tested by
1
TestHash
Function · 0.74