//
pkg.gl
Category
github.com/golangltd/leafltd
src
golang.org
x
crypto
bn256
package
0.0.0-20201102054017-282493799a89
Repository:
https://github.com/golangltd/leafltd.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
1.8k SLOC
#
Functions
Pair
Pair calculates an Optimal Ate pairing.
RandomG1
RandomG1 returns x and g₁ˣ where x is a random, non-zero number read from r.
RandomG2
RandomG1 returns x and g₂ˣ where x is a random, non-zero number read from r.
#
Variables
Order
Order is the number of elements in both G₁ and G₂: 36u⁴+36u³+18u³+6u+1.
#
Structs
G1
G1 is an abstract cyclic group.
G2
G2 is an abstract cyclic group.
GT
GT is an abstract cyclic group.