Skip to content

HashPedersenElements

Calculates Pedersen hash of a list of big.Int elements.

Function Signature

func HashPedersenElements(elems []*big.Int) (hash *big.Int)

Expected Output

HashPedersenElements:
  Input elements: [111, 222, 333]
  Hash: 1806953628366150061155015437827467975050659843036579320561057832655817945018

Related Functions