XOFs
Extensible Output Functions (XOFs) are a class of cryptographic functions that, given an input message, can produce an output of any chosen length. Unlike fixed-output hash functions, an XOF allows the user to request as many bits as needed, while ensuring that the output remains deterministic for the same input and length. The same input with different requested lengths yields different outputs, and the function is designed to be extendable without reprocessing the original data.
XOFs are typically built from sponge constructions. An internal state is repeatedly updated as the input is
Prominent XOFs include SHAKE128 and SHAKE256, which are part of the SHA-3 standard. Other related XOFs include
Applications of XOFs encompass hashing messages of arbitrary length, generating pseudorandom numbers, and serving as building