Documentation ¶
Overview ¶
Package mimc provides MiMC hash function using Miyaguchi–Preneel construction.
Index ¶
Constants ¶
View Source
const (
BlockSize = fr.Bytes // BlockSize size that mimc consumes
)
Variables ¶
This section is empty.
Functions ¶
func Decompose ¶ added in v0.9.0
Decompose interpret rawBytes as a bigInt x in big endian, and returns the digits of x (from LSB to MSB) when x is written in basis modulo.
func GetConstants ¶ added in v0.6.1
GetConstants exposed to be used in gnark
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.