Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 922 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 922 Bytes

libcsnark Compilation manual

  • [libcsnark Compilation manual](#libcsnark-Compilation manual)

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