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

Function NewTupleHashXOF128

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

NewTupleHashXOF128 provides an arbitrary-length output.

(s []byte)

Source from the content-addressed store, hash-verified

80
81// NewTupleHashXOF128 provides an arbitrary-length output.
82func NewTupleHashXOF128(s []byte) TupleHashXOF {
83 return newTupleHasher(128, 0, s)
84}
85
86// NewTupleHashXOF256 provides an arbitrary-length output.
87func NewTupleHashXOF256(s []byte) TupleHashXOF {

Callers 1

Calls 1

newTupleHasherFunction · 0.85

Tested by 1