(securitybits int, tuple [][]byte, s []byte)
| 144 | } |
| 145 | |
| 146 | func newTupleHash(securitybits int, tuple [][]byte, s []byte) (d *state) { |
| 147 | d = newCShake(securitybits, []byte("TupleHash"), s) |
| 148 | for _, item := range tuple { |
| 149 | encodeString(d, item) |
| 150 | } |
| 151 | return d |
| 152 | } |
| 153 | |
| 154 | func newTupleHasher(securitybits int, length int, s []byte) *thash { |
| 155 | t := thash{d: newCShake(securitybits, []byte("TupleHash"), s)} |
no test coverage detected