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

package sha1

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

Index

Package Files

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

Sum returns the SHA-1 checksum of the data.

Package sha1 imports 3 packages (graph) and is imported by 1 packages. Updated 2020-09-29. Refresh now. Tools for package owners.