go1.20.5
GoThrough

bn256.Order

// Order is the number of elements in both G₁ and G₂: 36u⁴+36u³+18u²+6u+1. var Order = bigFromBase10("65000549695646603732796438742359905742570406053903786389881062969044166799969")

bn256.Pair

// Pair calculates an Optimal Ate pairing. func Pair(g1 *G1, g2 *G2) *GT

bn256.RandomG1

// RandomG1 returns x and g₁ˣ where x is a random, non-zero number read from r. func RandomG1(r io.Reader) (*big.Int, *G1, error)

bn256.RandomG2

// RandomG2 returns x and g₂ˣ where x is a random, non-zero number read from r. func RandomG2(r io.Reader) (*big.Int, *G2, error)