stackrlabs / succinct-residency-exps

0 stars 0 forks source link

Poseidon Hash #52

Open aashutoshrathi opened 3 days ago

aashutoshrathi commented 3 days ago

Description

Take n as an argument, default test cases being 1, 100, 10,000, and 100,000. Take a random data string and hash it n times with Poseidon

Implement this in Rust & have a wasm-compiled version using wasm-build too. Benchmark this on all zkVMs for native and Wasm.

Can leverage: https://crates.io/crates/poseidon-rs

aashutoshrathi commented 9 hours ago

Ref this too: https://github.com/DelphinusLab/zkWasm-rust/blob/main/src/poseidon.rs