package
0.36.0
Repository: https://go.googlesource.com/crypto
Documentation: pkg.go.dev

# Functions

New128 returns a new hash.Hash computing the BLAKE2s-128 checksum given a non-empty key.
New256 returns a new hash.Hash computing the BLAKE2s-256 checksum.
NewXOF creates a new variable-output-length hash.
Sum256 returns the BLAKE2s-256 checksum of the data.

# Constants

The blocksize of BLAKE2s in bytes.
OutputLengthUnknown can be used as the size argument to NewXOF to indicate the length of the output is not known in advance.
The hash size of BLAKE2s-256 in bytes.
The hash size of BLAKE2s-128 in bytes.

# Interfaces

XOF defines the interface to hash functions that support arbitrary-length output.