package
Version:
v0.0.0-...-783462d
Opens a new window with list of versions in this module.
Published: Dec 23, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package hash provides MiMC hash function defined over curves implemented in gnark-crypto/ecc.
Originally developed and used in a ZKP context.
const (
MIMC_BN254 Hash = iota
MIMC_BLS12_381
MIMC_BLS12_377
MIMC_BLS12_378
MIMC_BW6_761
MIMC_BLS24_315
MIMC_BLS24_317
MIMC_BW6_633
MIMC_BW6_756
)
New creates the corresponding mimc hash function.
Size returns the size of the digest of
the corresponding hash function
String returns the mimc ID to string format.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.