pysnark
pysnark copied to clipboard
Library for programming zk-SNARKs directly in Python
Hello! I installed using pip3 install git+https://github.com/meilof/pysnark and executed python cube.py 3 After that "Error loading backend pysnark.libsnark.."  It was executed on Windows 10. Thanks in advance
Hello, I am trying to use the `hash_string.py` example you gave. It raises the following error `AssertionError: 21888242871839275222246405745257275088548364400416034343698204186575808495616 is not a 16-bit positive integer` from the line: ```python hashed =...
Hello, Could you add an example for producing a proof of the preimage with the Poseidon Hash Function. It would be much appreciated. Thank you
I was planning to use ggh_hash as the hash function input to hmac, along with a key and a message; and generate a proof. Is this a feasible approach?
Running one of the following lines causes a bus error: ``` PrivVal(1) > PrivVal(1) ``` This only happens on the `python-libsnark` backend.
I'm wondering how trusted setup works in PySNARK. When I output a proof, say in Bellman with zkinterface, it outputs both the constraints and the witness. Does that mean that...
Dear authors, @meilof Hello. When I set "ignore_errors(False)," I run sudoku.py. It raises an error: "AssertionError: 21888242871839275222246405745257275088548364400416034343698204186575808495616 is not a 16-bit positive integer" 
Dear authors, when i run sudoku.py, it throw [errors:] 
After setting environment path " set PYSNARK_BACKEND=zkinterface" and then run "python cube.py 33 ", it always use the libsnark, rather than "zkinterface" 