github.com/consensys/gnark@v0.11.0/doc.go (about)

     1  // Package gnark provides fast Zero Knowledge Proofs (ZKP) systems and a high level APIs to design ZKP circuits.
     2  //
     3  // gnark supports the following ZKP schemes:
     4  //   - Groth16
     5  //   - PLONK
     6  //
     7  // gnark supports the following curves:
     8  //   - BN254
     9  //   - BLS12_377
    10  //   - BLS12_381
    11  //   - BW6_761
    12  //   - BLS24_315
    13  //   - BW6_633
    14  //   - BLS24_317
    15  //
    16  // User documentation
    17  // https://docs.gnark.consensys.net
    18  package gnark
    19  
    20  import (
    21  	"github.com/blang/semver/v4"
    22  	"github.com/consensys/gnark-crypto/ecc"
    23  )
    24  
    25  var Version = semver.MustParse("0.11.0")
    26  
    27  // Curves return the curves supported by gnark
    28  func Curves() []ecc.ID {
    29  	return []ecc.ID{ecc.BN254, ecc.BLS12_377, ecc.BLS12_381, ecc.BW6_761, ecc.BLS24_315, ecc.BW6_633, ecc.BLS24_317}
    30  }