Module shake

Source
Expand description

SHAKE hash functions with fixed output length

This module implements the SHAKE family as standard fixed-output hash functions as specified in FIPS PUB 202.

For variable-length output, use the XOF implementations in the xof module.

Structs§

Shake128
SHAKE-128 hash function with fixed output size (32 bytes)
Shake256
SHAKE-256 hash function with fixed output size (64 bytes)

Enums§

Shake128Algorithm
Marker type for SHAKE128 algorithm
Shake256Algorithm
Marker type for SHAKE256 algorithm

Constants§

SHAKE128_OUTPUT_SIZE
Default output size for SHAKE128 (256 bits / 32 bytes)
SHAKE256_OUTPUT_SIZE
Default output size for SHAKE256 (512 bits / 64 bytes)