xOnly method

  1. @override
BuBytes xOnly({
  1. required Dkls23Curve curve,
  2. required List<int> groupPk,
})
override

X-only form of a group key → 32 bytes.

Implementation

@override
BuBytes xOnly({required Dkls23Curve curve, required List<int> groupPk}) {
  ApiValidate.length(groupPk, 33, operation: '$_tag.xOnly', name: 'groupPk');
  return ApiValidate.call(
    '$_tag.xOnly',
    () => inner.xOnly(curve: curve, groupPk: groupPk),
  );
}