crypto/sha512

CUE v0.18.0

Constants

BlockSize

cue
BlockSize: 128

BlockSize is the block size, in bytes, of the SHA-512/224, SHA-512/256, SHA-384 and SHA-512 hash functions.

Size

cue
Size: 64

Size is the size, in bytes, of a SHA-512 checksum.

Size224

cue
Size224: 28

Size224 is the size, in bytes, of a SHA-512/224 checksum.

Size256

cue
Size256: 32

Size256 is the size, in bytes, of a SHA-512/256 checksum.

Size384

cue
Size384: 48

Size384 is the size, in bytes, of a SHA-384 checksum.

Functions

Sum384

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

Sum384 returns the SHA384 checksum of the data.

Sum512

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

Sum512 returns the SHA512 checksum of the data.

Sum512_224

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

Sum512_224 returns the Sum512/224 checksum of the data.

Sum512_256

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

Sum512_256 returns the Sum512/256 checksum of the data.

Install CUE