Collection of cryptographic extendable output functions (XOFs) written in pure Rust.
All algorithms reside in separate crates and are implemented using traits from digest crate.
Usage examples are provided in digest and hash implementation crate docs.
Additionally all crates do not require the standard library (i.e. no_std capable) and can be
easily used for bare-metal or WebAssembly programming by disabling default crate features.
| Algorithm | Crate | Crates.io | Documentation | MSRV |
|---|---|---|---|---|
| Ascon-XOF128 | ascon‑xof128 |
1.85 | ||
| bash-prg-hash | bash-prg‑hash |
1.85 | ||
| cSHAKE | cshake |
1.85 | ||
| KangarooTwelve | k12 |
1.85 | ||
| SHAKE | shake |
1.85 | ||
| TurboSHAKE | turboshake |
1.85 |
All crates in this repository are licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.