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

MiMC-p/p with increased rounds #105

Closed HarryR closed 5 years ago

HarryR commented 5 years ago

Fixes: #90 Fixes: #87

This introduces MiMC-p/p with 91 rounds as an alternative to the Pedersen hash scheme.

Removed old pedersen-hash scheme, using zcash sapling pedersen hash scheme by default.

Removed LongsightL, using MiMC hash.

Added mimc utility executable, to test mimc cipher and hash

Upgraded to Solidity 0.5.0

Cleaned up C++ EdDSA module

Bug-fixed appveyor build (it almost works, with msys)

SHA3 support comes from https://github.com/HarryR/SHA3IUF (my fork of a repo)