constantine
constantine copied to clipboard
Implement SAFE (Sponge API for Field Elements)
For regular cryptographic needs within ZK proof systems we need hashing, encryption, CSPRNGs, ...
- Writeup: https://hackmd.io/bHgsH6mMStCVibM_wYvb2w#36-Stream-cipher-and-PRNG
- Slides: https://www.aumasson.jp/data/talks/safe-hash.pdf
- Reference trait: https://github.com/lurk-lab/neptune/blob/main/src/sponge/api.rs