Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MiMC ¶
type MiMC struct {
// contains filtered or unexported fields
}
MiMC contains the params of the Mimc hash func and the curves on which it is implemented
func (MiMC) Hash ¶
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.