# Packages
Package ff provides finite fields and groups useful for the BLS12-381 curve.
# Functions
G1Generator returns the generator point of G1.
G2Generator returns the generator point of G2.
Order returns the order of the pairing groups, returned as a big-endian slice.
Pair calculates the ate-pairing of P and Q.
ProdPair calculates the product of pairings, i.e., \Prod_i pair(Pi,Qi)^ni.
ProdPairFrac computes the product e(P, Q)^sign where sign is 1 or -1.
# Constants
G1Size is the length in bytes of an element in G1 in uncompressed form..
G1SizeCompressed is the length in bytes of an element in G1 in compressed form.
G2Size is the length in bytes of an element in G2 in uncompressed form..
G2SizeCompressed is the length in bytes of an element in G2 in compressed form.
GtSize is the length in bytes of an element in Gt.
# Type aliases
Scalar represents positive integers in the range 0 <= x < Order.