https://github.com/hyraxZK/hyraxZK中https://github.com/hyraxZK/bccgp有基于以下两个论文的实现:
- BCCGP-sqrt, fromJ.Bootle, A.Cerulli, P.Chaidos, J.Groth, andC.Petit. “Efficient Zero-Knowledge Arguments for Arithmetic Circuits in the Discrete Log Setting”.EUROCRYPT, May2016.
- Bulletproofs, fromB.Bünz, J.Bootle, D.Boneh, A.Poelstra, andG.Maxwell. “Bulletproofs:Short Proofs for Confidential Transactions and More”.IEEES&P, May2018.
除了需要安装NTL库之外,还需要做以下调整:
- 1)https://github.com/hyraxZK/pylaurent/blob/c2176c97b06ee8e8e17c30fc53ba93c29e42c744/configure.ac中的
AC_LINK_IFELSE......
该行内容注释掉。 - 2)为了便于查看理解,建议下载整个大项目包:https://github.com/hyraxZK/hyraxZK
cd hyraxZK
./bccgp/run_bccgp.py -p ./libpws/src/tests/simple4.pws
https://github.com/hyraxZK/pws中:
apt-get install parallel
apt-get installte xlive-extra-utils