Skip to content

Support eXtendable Output Functions (XOFs) - #142

Open
mraethel wants to merge 1 commit into
haskell-cryptography:mainfrom
mraethel:main
Open

Support eXtendable Output Functions (XOFs)#142
mraethel wants to merge 1 commit into
haskell-cryptography:mainfrom
mraethel:main

Conversation

@mraethel

@mraethel mraethel commented Aug 6, 2026

Copy link
Copy Markdown

Botan's FFI exposes first class XOFs since version 3.11.0. This PR introduces raw and low-level bindings to the XOF class interface, which are mostly identical to the bindings of hashes, except that XOFs are able to generate an indefinite output stream. Supported algorithms are both SHAKE128 and SHAKE256 variants as well as Ascon-XOF128. Stateful tests have been added to both XOF and hash bindings. As in all other modules I have put @jorisdral and @ldillinger as maintainer of the new XOF modules.

An eXtendable Output Function (XOF) transforms an arbitrary length input
message into an indefinite stream of output bits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant