crypto/sha1

CUE v0.18.0

Constants

BlockSize

cue
BlockSize: 64

The blocksize of SHA-1 in bytes.

Size

cue
Size: 20

The size of a SHA-1 checksum in bytes.

Functions

Sum

cue
Sum: func(data: bytes | string) -> bytes

Sum returns the SHA-1 checksum of the data.

Install CUE