package
0.0.0-20210902152239-d07836ab426a
Repository: https://github.com/sylabs/golang-x-crypto.git
Documentation: pkg.go.dev

# Functions

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

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

# Interfaces

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