Documentation ¶
Index ¶
Constants ¶
View Source
const SEED = "mimc"
SEED defines the seed used to constants
Variables ¶
This section is empty.
Functions ¶
func HashBytes ¶ added in v0.0.3
HashBytes hashes a msg byte slice by blocks of 31 bytes encoded as little-endian
func HashGeneric ¶
HashGeneric performs the MIMC7 hash over a *big.Int array, in a generic way, where it can be specified the Finite Field over R, and the number of rounds
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.