libsnark
libsnark copied to clipboard
C++ library for zkSNARKs
Hi, the readme claims that libsnark should build on OS X, but I've had a lot of trouble. First, I just symlinked openssl headers into the expected location with ```bash...
If I calculate `sha256(0)` in libsnark, I get: ``` 0xda5698be17b9b46962335799779fbeca8ce5d491c0d26243bafef9ea1837a9d8 ``` In python I get different values: ``` >>> pypy_sha256.sha256().hexdigest() 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' >>> pypy_sha256.sha256([0]*64).hexdigest() 'f5a5fd42d16a20302798ef6ed309979b43003d2320d9f0e8ea9831a92759fb4b' ``` I found the code that...
Due to the GMP dependency which is LGPL v3 or GPL v2, a binary build of libsnark has firm constraints and cannot be distributed with binary Apache v2-licensed code or...
I've been working on understanding an odd bug related to a SHA256 gadget apart of the ethsnarks repo. The issue can be found here: https://github.com/HarryR/ethsnarks/issues/27. In particular, on the following...
I couldn't find a switch that disables all the time profiling and logging code, which may help in gaining performance.
Is there any easy way to adjust the lambda security parameter. This can be very helpful in generating short proofs.
After building libsnark and installing, then building a shared library of our Prover/Validator key generator, when trying to execute we are getting a: undefined symbol: _ZN8libsnark6prfGenINS_27default_r1cs_ppzkadsnark_ppEEENT_7prfKeyTEv Not a C++ guru...
On my debian current versions of libgmp libprocps are different (might be 6) better to use the following dependency string: apt-get install build-essential cmake git libgmp-dev libprocps-dev python-markdown libboost-all-dev libssl-dev...
add nano and recursive git update to DockerFile
Curious if any attempts have been made? TIA