Libcsnark
The libsnark library implements the zkSNARK scheme for proving/verifying computational integrity in zero knowledge
Install / Use
/learn @PlatONnetwork/LibcsnarkREADME
libcsnark Compilation manual
- [libcsnark Compilation manual](#libcsnark-Compilation manual)
- Brief
- Compile
- Dependency
- [Compile libcsnark](#Compile libcsnark)
Brief
Libcsnark adds some gadgets based on libsnark and encapsulates some of the main interfaces available to third-party libraries. The libsnark library implements the zkSNARK scheme, an encryption method used to prove/verify the integrity of computations in zero knowledge. See the libsnark library[for instructions].(https://github.com/scipr-lab/libsnark/blob/master/README.md)
Compile
Dependency
sudo apt-get install libgmpxx4ldbl
sudo apt-get install libgmp-dev
sudo apt-get install libprocps4-dev
sudo apt-get install libboost-dev
Compile libcsnark
cd libcsnark
mkdir build
cd build
cmake ../ -DMONTGOMERY_OUTPUT=OFF -DBINARY_OUTPUT=OFF
