Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chain/txvm
/ Sum256
Function
Sum256
crypto/sha3pool/pool.go:26–31 ·
view source on GitHub ↗
Sum256 uses a ShakeHash from the pool to sum into hash.
(hash, data []byte)
Source
from the content-addressed store, hash-verified
24
25
// Sum256 uses a ShakeHash from the pool to sum into hash.
26
func
Sum256(hash, data []byte) {
27
h := Get256()
28
h.Write(data)
29
h.Read(hash)
30
Put256(h)
31
}
Callers
2
keyHash
Function · 0.92
keyHash
Function · 0.92
Calls
4
Get256
Function · 0.85
Put256
Function · 0.85
Write
Method · 0.45
Read
Method · 0.45
Tested by
2
keyHash
Function · 0.74
keyHash
Function · 0.74