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

package sha1

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


Package Files

pkg.go sha1.go


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) []byte

Sum returns the SHA-1 checksum of the data.

Package sha1 imports 3 packages (graph) and is imported by 2 packages. Updated 2021-01-26. Refresh now. Tools for package owners.