Open aashutoshrathi opened 3 days ago
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
n
1
100
10,000
100,000
Implement this in Rust & have a wasm-compiled version using wasm-build too. Benchmark this on all zkVMs for native and Wasm.
wasm-build
Can leverage: https://crates.io/crates/poseidon-rs
Ref this too: https://github.com/DelphinusLab/zkWasm-rust/blob/main/src/poseidon.rs
Description
Take
n
as an argument, default test cases being1
,100
,10,000
, and100,000
. Take a random data string and hash itn
times with PoseidonImplement 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