package
1.15.2
Repository: https://github.com/ethereum/go-ethereum.git
Documentation: pkg.go.dev

# Functions

F is a compression function for BLAKE2b.
New returns a new hash.Hash computing the BLAKE2b checksum with a custom length.
New256 returns a new hash.Hash computing the BLAKE2b-256 checksum.
New384 returns a new hash.Hash computing the BLAKE2b-384 checksum.
New512 returns a new hash.Hash computing the BLAKE2b-512 checksum.
NewXOF creates a new variable-output-length hash.
Sum256 returns the BLAKE2b-256 checksum of the data.
Sum384 returns the BLAKE2b-384 checksum of the data.
Sum512 returns the BLAKE2b-512 checksum of the data.

# Constants

BlockSize the blocksize of BLAKE2b in bytes.
OutputLengthUnknown can be used as the size argument to NewXOF to indicate the length of the output is not known in advance.
Size the hash size of BLAKE2b-512 in bytes.
Size256 the hash size of BLAKE2b-256 in bytes.
Size384 the hash size of BLAKE2b-384 in bytes.

# Interfaces

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