Try to build zkp app to proof CET6 Score > 425
- Basic impl based on miden VM
- Basic impl based on libsnark
使用zkVM和libsnark实现了对于六级成绩是否大于425的零知识证明电路。
Miden VM 是Rust零知识虚拟机,使用Miden 可以快速高效的构造零知识证明应用。
cargo build # Debug mod
cargo build --release # Release mod
cd target
cd debug # cd release
./Poc_of_zkp.exe libsnark 提供了常见的ZKP协议的c++ 实现,实力libsnark 中的gadget可以实现比较电路
cd libsnark-version
git submodule init && git submodule update
mkdir build && cd build && cmake ..
make
cd src
./cet6刘齐:ZKP项目

