Documentation ¶
Index ¶
- Constants
- Variables
- func CodeHash(code []byte) (h common.Hash)
- func Hash(inpBI []*big.Int, width int) (*big.Int, error)
- func HashFixed(inpBI []*big.Int) (*big.Int, error)
- func HashFixedWithDomain(inpBI []*big.Int, domain *big.Int) (*big.Int, error)
- func HashWithCap(inpBI []*big.Int, width int, nBytes int64) (*big.Int, error)
Constants ¶
View Source
const NROUNDSF = 8 //nolint:golint
Variables ¶
View Source
var NROUNDSP = []int{56, 57, 56, 60, 60, 63, 64, 63, 60, 66, 60, 65, 70, 60, 64, 68} //nolint:golint
Functions ¶
func HashFixedWithDomain ¶
Hash computes the Poseidon hash for the given fixed-size inputs, with specified domain field
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.