go/src/cmd/internal/hash/hash.go

const Size32

const Size20

const Size16

// New32 returns a new [hash.Hash] computing the 32 bytes hash checksum.
func New32() hash.Hash {}

// New20 returns a new [hash.Hash] computing the 20 bytes hash checksum.
func New20() hash.Hash {}

// New16 returns a new [hash.Hash] computing the 16 bytes hash checksum.
func New16() hash.Hash {}

// Sum32 returns the 32 bytes checksum of the data.
func Sum32(data []byte) [Size32]byte {}

// Sum20 returns the 20 bytes checksum of the data.
func Sum20(data []byte) [Size20]byte {}

// Sum16 returns the 16 bytes checksum of the data.
func Sum16(data []byte) [Size16]byte {}