Skip to content

ecSubgroupCheck

ecSubgroupCheck(group, point): boolean

Checks if the given point is in the main prime-order subgroup of the target group. Fails if the point is not in the group at all.

Parameters

group: ECGroup

The target group

point: Brand<string, "bytes">

The point to check

Returns

boolean

Source

types/global.d.ts:1469