//
pkg.gl
Category
github.com/oskarth/go-ethereum
crypto
bn256
package
1.6.7
Repository:
https://github.com/oskarth/go-ethereum.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
1.8k SLOC
#
Functions
Pair
Pair calculates an Optimal Ate pairing.
PairingCheck
No description provided by the author
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.
P
p is a prime over which we form a basic field: 36u⁴+36u³+24u²+6u+1.
#
Structs
G1
G1 is an abstract cyclic group.
G2
G2 is an abstract cyclic group.
GT
GT is an abstract cyclic group.