crypto/sha512
CUE v0.18.0
Constants
BlockSize
cue
BlockSize: 128BlockSize is the block size, in bytes, of the SHA-512/224, SHA-512/256, SHA-384 and SHA-512 hash functions.
Size
cue
Size: 64Size is the size, in bytes, of a SHA-512 checksum.
Size224
cue
Size224: 28Size224 is the size, in bytes, of a SHA-512/224 checksum.
Size256
cue
Size256: 32Size256 is the size, in bytes, of a SHA-512/256 checksum.
Size384
cue
Size384: 48Size384 is the size, in bytes, of a SHA-384 checksum.
Functions
Sum384
cue
Sum384: func(data: bytes | string) -> bytesSum384 returns the SHA384 checksum of the data.
Sum512
cue
Sum512: func(data: bytes | string) -> bytesSum512 returns the SHA512 checksum of the data.
Sum512_224
cue
Sum512_224: func(data: bytes | string) -> bytesSum512_224 returns the Sum512/224 checksum of the data.
Sum512_256
cue
Sum512_256: func(data: bytes | string) -> bytesSum512_256 returns the Sum512/256 checksum of the data.