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

Function NewTupleHashXOF256

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

NewTupleHashXOF256 provides an arbitrary-length output.

(s []byte)

Source from the content-addressed store, hash-verified

85
86// NewTupleHashXOF256 provides an arbitrary-length output.
87func NewTupleHashXOF256(s []byte) TupleHashXOF {
88 return newTupleHasher(256, 0, s)
89}
90
91// BlockSize returns the rate of sponge underlying this hash function.
92func (t *thash) BlockSize() int { return t.d.rate }

Callers

nothing calls this directly

Calls 1

newTupleHasherFunction · 0.85

Tested by

no test coverage detected