crypto/sha256

CUE v0.18.0

Constants

BlockSize

cue
BlockSize: 64

The blocksize of SHA256 and SHA224 in bytes.

Size

cue
Size: 32

The size of a SHA256 checksum in bytes.

Size224

cue
Size224: 28

The size of a SHA224 checksum in bytes.

Functions

Sum224

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

Sum224 returns the SHA224 checksum of the data.

Sum256

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

Sum256 returns the SHA256 checksum of the data.

Install CUE