//
pkg.gl
Category
github.com/tailscale/golang-x-crypto
bn256
package
0.91.0
Repository:
https://github.com/tailscale/golang-x-crypto.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
RandomG2 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.