HarryR / ethsnarks

A toolkit for viable zk-SNARKS on Ethereum, Web, Mobile and Desktop
GNU Lesser General Public License v3.0
240 stars 57 forks source link

Fixed MiMC-p/p implementation bug #54

Closed HarryR closed 6 years ago

HarryR commented 6 years ago

While running tests on another function I discovered I had implemented MiMC incorrectly, and my implementation was insecure.

I have fixed this, and made the Python, C++ and Solidity implementations match.

Also moved some code from appendix/ to another repo.