SkillAgentSearch skills...

Spongefish

Fiat-Shamir for the masses.

Install / Use

/learn @arkworks-rs/Spongefish
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

spongefish: a duplex sponge Fiat–Shamir library 🧽🐟

Sponge FiSh (duplex sponge Fiat–Shamir) is a permutation-agnostic Fiat–Shamir library that believes in random oracles. It facilitates the writing of multi-round public coin protocols. It provides a generic API for generating the verifier's random coins and the prover randomness. The project is split into three crates:

  • spongefish: the core library and trait implementations for arkworks/zkcrypto types together with the duplex sponge API.
  • spongefish-pow: proof‑of‑work helpers for deriving Fiat–Shamir challenges via grinding.
  • spongefish-poseidon2: Poseidon2 permutations and wrappers you can compose with the duplex sponge interface today.

Hash function can also be derived via bridges to Rust's generic Digest API, and XofReader.

More information

Check out the documentation and some examples/.

Funding

This project is funded through NGI0 Entrust, a fund established by NLnet with financial support from the European Commission's Next Generation Internet program. Learn more at the NLnet project page.

<img src="https://nlnet.nl/logo/banner.png" alt="NLnet foundation logo" width="20%" /> <img src="https://nlnet.nl/image/logos/NGI0_tag.svg" alt="NGI Zero Logo" width="20%" />

View on GitHub
GitHub Stars92
CategoryDevelopment
Updated1d ago
Forks37

Languages

Rust

Security Score

100/100

Audited on Mar 20, 2026

No findings