Skip to main content

gnark standard library

We provide the following functions in gnark/std:

func (circuit *mimcCircuit) Define(api frontend.API) error {
// ...
hFunc, _ := mimc.NewMiMC(api.Curve())
computedHash := hFunc.Hash(cs, circuit.Data)
// ...
}