MCPcopy Create free account
hub / github.com/chain/txvm / WriteItem

Method WriteItem

crypto/sha3/tuple_hash.go:14–14  ·  view source on GitHub ↗

WriteItem writes length-prefixed item to the hash state.

(item []byte)

Source from the content-addressed store, hash-verified

12
13 // WriteItem writes length-prefixed item to the hash state.
14 WriteItem(item []byte) (written int, err error)
15
16 // WriteItemPrefix writes length prefix to the hash state
17 // and must be followed by normal Write calls.

Callers 7

TestTupleHashNISTSample1Function · 0.65
TestTupleHashNISTSample2Function · 0.65
TestTupleHashNISTSample3Function · 0.65
TestTupleHashNISTSample4Function · 0.65
TestTupleHashNISTSample5Function · 0.65
TestTupleHashNISTSample6Function · 0.65

Implementers 1

thashcrypto/sha3/tuple_hash.go

Calls

no outgoing calls

Tested by 7

TestTupleHashNISTSample1Function · 0.52
TestTupleHashNISTSample2Function · 0.52
TestTupleHashNISTSample3Function · 0.52
TestTupleHashNISTSample4Function · 0.52
TestTupleHashNISTSample5Function · 0.52
TestTupleHashNISTSample6Function · 0.52