addVar method

  1. @override
BuBytes addVar(
  1. List<int> a,
  2. List<int> b
)
override

Point addition (variable-time); both 32-byte compressed. Returns 32-byte compressed point. Throws on invalid encoding.

Implementation

@override
BuBytes addVar(List<int> a, List<int> b) {
  return _api.addVartime(a, b).unwrapOrThrowCryptoError();
}