go: cuelang.org/go/pkg/crypto/sha1 Index | Files

package sha1

import "cuelang.org/go/pkg/crypto/sha1"

Index

Package Files

sha1.go

Constants

const BlockSize = 64

The blocksize of SHA-1 in bytes.

const Size = 20

The size of a SHA-1 checksum in bytes.

func Sum Uses

func Sum(data []byte) [Size]byte

Sum returns the SHA-1 checksum of the data.

Package sha1 imports 1 packages (graph). Updated 2019-08-20. Refresh now. Tools for package owners.