Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MiMC ¶
MiMC gadget
func (MiMC) Hash ¶
func (h MiMC) Hash(circuit *cs.CS, data ...*cs.Constraint) *cs.Constraint
Hash hash (in r1cs form) using Miyaguchi–Preneel: https://en.wikipedia.org/wiki/One-way_compression_function The XOR operation is replaced by field addition
Click to show internal directories.
Click to hide internal directories.