# std/crypto: don't constrain Gimli hash output to a fixed length · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e7b60b219be3885718425d8ddf25d38d3808e90e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e7b60b219be3885718425d8ddf25d38d3808e90e

Requested commit: e7b60b219be3885718425d8ddf25d38d3808e90e

Commit: e7b60b219be3885718425d8ddf25d38d3808e90e

Tree: b11c4a58b9cbda15aeb94d405c4985cbd4b606b5

Author: Frank Denis

Committer: Andrew Kelley

## Message

```
std/crypto: don't constrain Gimli hash output to a fixed length

As documented in the comment right above the finalization function,
Gimli can be used as a XOF, i.e. the output doesn't have a fixed
length.

So, allow it to be used that way, just like BLAKE3.

```

## Parents

- [2e354c387e5b5f9a033c29e622ea4a4dbb04bccb](https://git.cafe/gitcafe/zig/commit/2e354c387e5b5f9a033c29e622ea4a4dbb04bccb?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e7b60b219be3885718425d8ddf25d38d3808e90e?format=markdown)
