Skip to content

ecPairingCheck

ecPairingCheck(group, a, b): boolean

Checks if the product of the pairing of each point in A with its respective point in B is equal to the identity element of the target group

Parameters

group: ECGroup

The target group

a: Brand<string, "bytes">

Concatenated points of the target group

b: Brand<string, "bytes">

Concatenated if the associated group

Returns

boolean

Source

types/global.d.ts:1450