[][src]Module r1cs::mimc

This module extends GadgetBuilder with an implementation of MiMC.

Structs

MiMCBlockCipher

The MiMC block cipher. This will use a number of rounds equal to round_constants.len() + 1, since the first round has no random constant.

MiMCPermutation

The MiMC permutation, which is equivalent to MiMC encryption with a key of zero.