No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Sobuno Merge pull request #2 from ysangkok/patch-1
Added note about ZKB++
Latest commit beecb45 Jul 31, 2017
Failed to load latest commit information.
MPC_SHA1 Fix buffer overflow Nov 18, 2016
MPC_SHA256 Fix buffer overflow Nov 18, 2016 note zkb++ Jul 13, 2017


Zero Knowledge Prover and Verifier for Boolean Circuits. Currently available is a prover and verifier for SHA-1 and SHA-256. They on OpenSSL for doing commits and randomness generation and use OpenMP for parallelization.

When starting either prover, it will prompt for an input to hash. After entering the input, the proof will be generated as a file in the directory the program resides in. The file is named out<NUM_ROUNDS>.bin where <NUM_ROUNDS> is the number of rounds of the algorithm run (Set to 136 by defauly, but can be changed in shared.h. Likewise, the verifier will look for a file in its directory with the same naming syntax to verify.

This was improved on by ZKB++, an improved version of ZKBOO with NIZK proofs that are less than half the size of ZKBOO proofs. Moreover, benchmarks show that this size reduction comes at no extra computational cost.