Crate pairing_plus

Source

Modules§

bls12_381
hash_to_curve
This module defines a hash_to_curve trait.
hash_to_field
This module implements hash_to_field and related hashing primitives for use with BLS signatures.
serdes
signum
Signum trait: sgn0 for field elements

Structs§

Wnaf
A “w-ary non-adjacent form” exponentiation context.

Enums§

GroupDecodingError
An error that may occur when trying to decode an EncodedPoint.

Traits§

CurveAffine
Affine representation of an elliptic curve point guaranteed to be in the correct prime order subgroup.
CurveProjective
Projective representation of an elliptic curve point guaranteed to be in the correct prime order subgroup.
EncodedPoint
An encoded elliptic curve point, which should essentially wrap a [u8; N].
Engine
An “engine” is a collection of types (fields, elliptic curve groups, etc.) with well-defined relationships. In particular, the G1/G2 curve groups are of prime order r, and are equipped with a bilinear pairing function.
SubgroupCheck