github.com/consensys/gnark-crypto@v0.14.0/internal/generator/pedersen/template/doc.go.tmpl (about)

     1  // Package {{.Package}} allows to compute and verify Pedersen vector commitments
     2  //
     3  // Pedersen vector commitments are a type of homomorphic commitments that allow
     4  // to commit to a vector of values and prove knowledge of the committed values.
     5  // The commitments can be batched and verified in a single operation.
     6  //
     7  // The commitments are computed using a set of basis elements. The proving key
     8  // contains the basis elements and their exponentiations by a random value. The
     9  // verifying key contains the G2 generator and its exponentiation by the inverse
    10  // of the random value.
    11  //
    12  // The setup process is a trusted setup and must be done securely, preferably using MPC.
    13  // After the setup, the proving key does not have to be secret, but the randomness
    14  // used during the setup must be discarded.
    15  package {{.Package}}