NewTupleHash256 creates an instance of Hash with a given key, output length in bytes and a customization string s.
(length int, s []byte)
| 75 | // NewTupleHash256 creates an instance of Hash with a given key, |
| 76 | // output length in bytes and a customization string s. |
| 77 | func NewTupleHash256(length int, s []byte) TupleHash { |
| 78 | return newTupleHasher(256, length, s) |
| 79 | } |
| 80 | |
| 81 | // NewTupleHashXOF128 provides an arbitrary-length output. |
| 82 | func NewTupleHashXOF128(s []byte) TupleHashXOF { |