forked from Consensys/gnark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoc.go
30 lines (27 loc) · 732 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Package gnark provides fast Zero Knowledge Proofs (ZKP) systems and a high level APIs to design ZKP circuits.
//
// gnark supports the following ZKP schemes:
// - Groth16
// - PLONK
//
// gnark supports the following curves:
// - BN254
// - BLS12_377
// - BLS12_381
// - BW6_761
// - BLS24_315
// - BW6_633
// - BLS24_317
//
// User documentation
// https://docs.gnark.consensys.net
package gnark
import (
"github.com/blang/semver/v4"
"github.com/consensys/gnark-crypto/ecc"
)
var Version = semver.MustParse("0.10.0")
// Curves return the curves supported by gnark
func Curves() []ecc.ID {
return []ecc.ID{ecc.BN254, ecc.BLS12_377, ecc.BLS12_381, ecc.BW6_761, ecc.BLS24_315, ecc.BW6_633, ecc.BLS24_317}
}