type ID uint
const ( SHAKE128 ID = iota + 1 SHAKE256 BLAKE2XB BLAKE2XS K12D10 )
func (x ID) New() XOF
XOF defines the interface to hash functions that support arbitrary-length output.
type XOF interface { // Write absorbs more data into the XOF's state. It panics if called // after Read. io.Writer // Read reads more output from the XOF. It returns io.EOF if the limit // has been reached. io.Reader // Clone returns a copy of the XOF in its current state. Clone() XOF // Reset restores the XOF to its initial state and discards all data appended by Write. Reset() }