RLN construct implementation using a canonical Poseidon implementation, the recommended implementation from the research paper for x^5
S-box.
The hasher supports 1 or 2 inputs only, as those are the necessities for the RLN construct.
For previous version of the construct with custom Poseidon implementation, please visit: https://github.com/kilic/rln To learn more about RLN, please visit: https://medium.com/privacy-scaling-explorations/rate-limiting-nullifier-a-spam-protection-mechanism-for-anonymous-environments-bbe4006a57d
cargo test --release --features multicore rln_32 -- --nocapture
cargo run --release --example export_test_keys
cargo run --example poseidon
cargo run --example poseidon_circuit
wasm-pack build --release --target=nodejs --scope=rln --out-name=rlnwasm --out-dir=rlnwasm -- --features wasm
With wasm-pack:
wasm-pack test --release --node -- --features wasm
With cargo:
Follow the steps here before running the test, then run:
cargo test --release --target wasm32-unknown-unknown --features wasm