ZK-Friendly Hash Function MiMC in Bitcoin

Algorithm

To hash a single number x, we calculate the following function:

r rounds of MiMC: Eₖ(x)

Implementation

The following is an implementation of MiMC:

MiMC Contract

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
sCrypt

sCrypt

sCrypt (https://scrypt.io) is a company with a mission to provide integrated on-chain smart contracting solutions on Bitcoin SV