zerokit/poseidon-tornado
Oskar Thoren a21e0c4ac3
Add comment
2022-03-11 16:02:27 +08:00
..
resources remove tornado-core 2022-03-11 15:39:09 +08:00
src Add comment 2022-03-11 16:02:27 +08:00
Cargo.toml Parse and print JSON WitnessInput 2022-03-02 13:44:03 +08:00
README.md Add proof to README 2022-03-11 15:59:47 +08:00

README.md

Poseidon-Tornado wrapper

cargo run should produce a verified proof:

Proof: Proof { a: GroupAffine { x: Fp256(BigInteger256([16555594431582187512, 832858929541131044, 7422422334369615701, 1990800952833984962])), y: Fp256(BigInteger256([1644467721434014430, 4218632298063479714, 6653830397826554436, 2216376957148540579])), infinity: false }, b: GroupAffine { x: QuadExtField { c0: Fp256(BigInteger256([9273689851960082102, 5457182187245793764, 4494028383047773695, 687780230949438867])), c1: Fp256(BigInteger256([12997553955801245812, 6091827827641861199, 16980634323548746344, 1216645975304436003])) }, y: QuadExtField { c0: Fp256(BigInteger256([7010712503187563018, 15102268349222123061, 14879829328512306542, 2444470763551517194])), c1: Fp256(BigInteger256([4642236806924837044, 921676552384439839, 10863230380949696869, 2028214605332280376])) }, infinity: false }, c: GroupAffine { x: Fp256(BigInteger256([12984346165775776486, 2185711386225701726, 2181293997313656330, 2510009027820905919])), y: Fp256(BigInteger256([7404331360498713396, 3383561268178375173, 1263588809399542185, 3239606895069814303])), infinity: false } }

poseidon-tornado

See: https://github.com/ChihChengLiang/poseidon-tornado

Some issues with mixing BigNumber radix 10 and 16 etc. The input currently used was generated with: db64ad09fd