forked from Consensys/gnark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
38 lines (35 loc) · 750 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
31
32
33
34
35
36
37
38
// 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.11.0")
// Curves return the curves supported by gnark
func Curves() []ecc.ID {
return []ecc.ID{
ecc.BN254,
ecc.BLS12_377,
ecc.BLS12_381,
ecc.BLS24_315,
ecc.BLS24_317,
ecc.BW6_761,
ecc.BW6_633,
}
}