package
Version:
v0.28.0
Opens a new window with list of versions in this module.
Published: Dec 20, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
func PairingCheck(a []*G1, b []*G2) bool
PairingCheck calculates the Optimal Ate pairing for a set of points.
G1 is an abstract cyclic group. The zero value is suitable for use as the
output of an operation, but cannot be used as an input.
G2 is an abstract cyclic group. The zero value is suitable for use as the
output of an operation, but cannot be used as an input.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.