package sha1

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

Index

Constants

const BlockSize = 64

The blocksize of SHA-1 in bytes.

const Size = 20

The size of a SHA-1 checksum in bytes.

Functions

func Sum

func Sum(data []byte) []byte

Sum returns the SHA-1 checksum of the data.

Source Files

pkg.go sha1.go

Version
v0.9.0-0.dev
Published
Mar 15, 2024
Platform
windows/amd64
Imports
3 packages
Last checked
1 hour ago

Tools for package owners.